#[non_exhaustive]pub enum SimulationCommand {
Dumpall,
Dumpoff,
Dumpon,
Dumpvars,
}Expand description
A simulation command type, used in Command::Begin and Command::End.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SimulationCommand
impl Clone for SimulationCommand
Source§fn clone(&self) -> SimulationCommand
fn clone(&self) -> SimulationCommand
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 SimulationCommand
impl Debug for SimulationCommand
Source§impl Display for SimulationCommand
impl Display for SimulationCommand
Source§impl PartialEq for SimulationCommand
impl PartialEq for SimulationCommand
impl Copy for SimulationCommand
impl Eq for SimulationCommand
impl StructuralPartialEq for SimulationCommand
Auto Trait Implementations§
impl Freeze for SimulationCommand
impl RefUnwindSafe for SimulationCommand
impl Send for SimulationCommand
impl Sync for SimulationCommand
impl Unpin for SimulationCommand
impl UnwindSafe for SimulationCommand
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