pub enum ReproductionMode {
Asexual,
Sexual,
Budding,
Fragmentation,
SporeFormation,
BinaryFission,
Pollination,
Unknown,
Custom(String),
}Expand description
Reproduction mode vocabulary.
Variants§
Asexual
Asexual reproduction.
Sexual
Sexual reproduction.
Budding
Budding.
Fragmentation
Fragmentation.
SporeFormation
Spore formation.
BinaryFission
Binary fission.
Pollination
Pollination.
Unknown
Unknown reproduction mode.
Custom(String)
Caller-defined reproduction mode text.
Trait Implementations§
Source§impl Clone for ReproductionMode
impl Clone for ReproductionMode
Source§fn clone(&self) -> ReproductionMode
fn clone(&self) -> ReproductionMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReproductionMode
impl Debug for ReproductionMode
Source§impl Display for ReproductionMode
impl Display for ReproductionMode
Source§impl FromStr for ReproductionMode
impl FromStr for ReproductionMode
Source§impl Hash for ReproductionMode
impl Hash for ReproductionMode
Source§impl Ord for ReproductionMode
impl Ord for ReproductionMode
Source§fn cmp(&self, other: &ReproductionMode) -> Ordering
fn cmp(&self, other: &ReproductionMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReproductionMode
impl PartialEq for ReproductionMode
Source§fn eq(&self, other: &ReproductionMode) -> bool
fn eq(&self, other: &ReproductionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ReproductionMode
impl PartialOrd for ReproductionMode
impl Eq for ReproductionMode
impl StructuralPartialEq for ReproductionMode
Auto Trait Implementations§
impl Freeze for ReproductionMode
impl RefUnwindSafe for ReproductionMode
impl Send for ReproductionMode
impl Sync for ReproductionMode
impl Unpin for ReproductionMode
impl UnsafeUnpin for ReproductionMode
impl UnwindSafe for ReproductionMode
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