pub enum CmdRecord {
None,
Quit,
Msg,
Batch(usize),
Sequence(usize),
Tick(Duration),
Log(String),
Task,
MouseCapture(bool),
}Expand description
Record of a command that was executed during simulation.
Variants§
None
No-op command.
Quit
Quit command.
Msg
Message sent to model (not stored, just noted).
Batch(usize)
Batch of commands.
Sequence(usize)
Sequence of commands.
Tick(Duration)
Tick scheduled.
Log(String)
Log message emitted.
Task
Background task executed synchronously.
MouseCapture(bool)
Mouse capture toggle (no-op in simulator).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CmdRecord
impl RefUnwindSafe for CmdRecord
impl Send for CmdRecord
impl Sync for CmdRecord
impl Unpin for CmdRecord
impl UnwindSafe for CmdRecord
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