pub enum EvolutionOutcome {
Success,
Failed,
Extinct,
Speciation,
}
Expand description
Evolution outcome types
Variantsยง
Success
Successful evolution
Failed
Evolution failed
Extinct
Organism became extinct
Speciation
Organism created new species
Trait Implementationsยง
Sourceยงimpl Clone for EvolutionOutcome
impl Clone for EvolutionOutcome
Sourceยงfn clone(&self) -> EvolutionOutcome
fn clone(&self) -> EvolutionOutcome
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for EvolutionOutcome
impl Debug for EvolutionOutcome
Sourceยงimpl<'de> Deserialize<'de> for EvolutionOutcome
impl<'de> Deserialize<'de> for EvolutionOutcome
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementationsยง
impl Freeze for EvolutionOutcome
impl RefUnwindSafe for EvolutionOutcome
impl Send for EvolutionOutcome
impl Sync for EvolutionOutcome
impl Unpin for EvolutionOutcome
impl UnwindSafe for EvolutionOutcome
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more