Enum cge::gene::GeneExtras [] [src]

pub enum GeneExtras {
    Input(f64),
    Neuron(f64usize),
    Forward,
    Recurrent,
    Bias,
}

An enum for storing additional information for different types of genes

Variants

Input(f64)

Input contains a current value

Neuron(f64usize)

Neuron contains a current value and an input count

ForwardRecurrentBias

Trait Implementations

impl PartialEq for GeneExtras
[src]

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

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

fn ne(&self, __arg_0: &GeneExtras) -> bool

This method tests for !=.

impl Debug for GeneExtras
[src]

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

Formats the value using the given formatter.

impl Clone for GeneExtras
[src]

fn clone(&self) -> GeneExtras

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more