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

Flag for 'Stop the simulation now'.

Flag for 'Continue with the simulation'.

Trait Implementations

impl Clone for StopFlag
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for StopFlag
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for StopFlag
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for StopFlag

impl Sync for StopFlag