Enum rsgenetic::sim::StepResult [] [src]

pub enum StepResult {
    Success,
    Failure,
    Done,
}

The result of running a single step.

Variants

Success

The step was successful, but the simulation has not finished.

Failure

The step was not successful.

Done

The step was successful and the simulation finished.

Trait Implementations

impl Debug for StepResult
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq for StepResult
[src]

impl PartialEq for StepResult
[src]

fn eq(&self, __arg_0: &StepResult) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.