pub enum StartPoint {
PowerOn,
SaveState(Vec<u8>),
}Expand description
Where a movie’s replay begins.
Variants§
PowerOn
Boot fresh from the cart’s reset vector (System::reset). The caller is expected to have
already constructed System::new(movie.seed) with the movie’s ROM installed and never
stepped it — Movie::seek_to_start calls reset() to boot it from there.
SaveState(Vec<u8>)
Restore this embedded save-state blob (a branch point mid-recording), via
System::load_state.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.