pub enum MutationType {
Beneficial,
Neutral,
Harmful,
Adaptive,
}Expand description
Types of evolution mutations
Variantsยง
Beneficial
Beneficial mutation
Neutral
Neutral mutation
Harmful
Harmful mutation
Adaptive
Adaptive mutation in response to environment
Trait Implementationsยง
Sourceยงimpl Clone for MutationType
impl Clone for MutationType
Sourceยงfn clone(&self) -> MutationType
fn clone(&self) -> MutationType
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 MutationType
impl Debug for MutationType
Sourceยงimpl<'de> Deserialize<'de> for MutationType
impl<'de> Deserialize<'de> for MutationType
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 MutationType
impl RefUnwindSafe for MutationType
impl Send for MutationType
impl Sync for MutationType
impl Unpin for MutationType
impl UnwindSafe for MutationType
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