Enum genevo::termination::StopFlag
[−]
[src]
pub enum StopFlag { StopNow(StopReason), Continue, }
The StopFlag
is the result of the Termination
function. It tells
the simulation whether it shall stop or if it can continue.
If the StopFlag
indicates that the simulation must stop, also the reason
(StopReason
) must be specified.
Variants
StopNow(StopReason)
Flag for 'Stop the simulation now'.
Continue
Flag for 'Continue with the simulation'.
Trait Implementations
impl Clone for StopFlag
[src]
fn clone(&self) -> StopFlag
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for StopFlag
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more