pub enum StartPoint {
PowerOn,
SaveState(Vec<u8>),
}Expand description
Where a movie begins. Clean-room analogue of Mesen2’s RecordMovieFrom.
Variants§
PowerOn
Power-on the ROM fresh, then apply inputs from frame 0. The most durable start point across version transitions (depends only on the ROM and the deterministic power-on).
SaveState(Vec<u8>)
Restore this embedded .rns snapshot, then apply inputs from there.
Enables save-state branching (a movie that begins mid-game).
Trait Implementations§
Source§impl Clone for StartPoint
impl Clone for StartPoint
Source§fn clone(&self) -> StartPoint
fn clone(&self) -> StartPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StartPoint
impl Debug for StartPoint
Source§impl PartialEq for StartPoint
impl PartialEq for StartPoint
impl Eq for StartPoint
impl StructuralPartialEq for StartPoint
Auto Trait Implementations§
impl Freeze for StartPoint
impl RefUnwindSafe for StartPoint
impl Send for StartPoint
impl Sync for StartPoint
impl Unpin for StartPoint
impl UnsafeUnpin for StartPoint
impl UnwindSafe for StartPoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more