pub enum MovieStart {
PowerOn {
seed: u64,
},
FromSaveState(Vec<u8>),
}Expand description
Where a movie’s recorded input starts from.
Variants§
PowerOn
A fresh power-on with the given seed (ADR 0006: same seed ⇒
byte-identical seeded RIOT RAM / CPU A/X/Y).
FromSaveState(Vec<u8>)
An embedded save-state blob (crate::SaveState::encode’s wire
format) — a branch point is exactly a movie whose start point is the
save-state captured at the branch frame.
Trait Implementations§
Source§impl Clone for MovieStart
impl Clone for MovieStart
Source§fn clone(&self) -> MovieStart
fn clone(&self) -> MovieStart
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 MovieStart
impl Debug for MovieStart
Source§impl<'de> Deserialize<'de> for MovieStart
impl<'de> Deserialize<'de> for MovieStart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MovieStart
impl RefUnwindSafe for MovieStart
impl Send for MovieStart
impl Sync for MovieStart
impl Unpin for MovieStart
impl UnsafeUnpin for MovieStart
impl UnwindSafe for MovieStart
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