Enum cge::gene::GeneExtras
[−]
[src]
pub enum GeneExtras { Input(f64), Neuron(f64, usize), Forward, Recurrent, Bias, }
An enum for storing additional information for different types of genes
Variants
Input(f64)
Input contains a current value
Neuron(f64, usize)
Neuron contains a current value and an input count
Forward
Recurrent
Bias
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]
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