pub enum SimulationMode {
Constructed,
Running,
Completed,
Failed,
}Expand description
The current mode of a Simulation.
Variants§
Constructed
The Simulation has only been constructed.
Running
The Simulation is actively simulating.
Completed
The Simulation successfully reached the halt condition.
Failed
The Simulation catastrophically crashed.
Trait Implementations§
Source§impl Clone for SimulationMode
impl Clone for SimulationMode
Source§fn clone(&self) -> SimulationMode
fn clone(&self) -> SimulationMode
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 SimulationMode
impl Debug for SimulationMode
Source§impl Hash for SimulationMode
impl Hash for SimulationMode
Source§impl Ord for SimulationMode
impl Ord for SimulationMode
Source§fn cmp(&self, other: &SimulationMode) -> Ordering
fn cmp(&self, other: &SimulationMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SimulationMode
impl PartialEq for SimulationMode
Source§impl PartialOrd for SimulationMode
impl PartialOrd for SimulationMode
impl Eq for SimulationMode
impl StructuralPartialEq for SimulationMode
Auto Trait Implementations§
impl Freeze for SimulationMode
impl RefUnwindSafe for SimulationMode
impl Send for SimulationMode
impl Sync for SimulationMode
impl Unpin for SimulationMode
impl UnwindSafe for SimulationMode
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