pub enum OrganismKind {
Animal,
Plant,
Fungus,
Bacterium,
Archaeon,
Protist,
Virus,
Unknown,
Custom(String),
}Expand description
Broad organism vocabulary. The Virus variant is descriptive and does not assert whether viruses are living organisms.
Variants§
Animal
Animal organisms.
Plant
Plant organisms.
Fungus
Fungi.
Bacterium
Bacteria.
Archaeon
Archaea.
Protist
Protists.
Virus
Viruses, modeled descriptively.
Unknown
Unknown organism kind.
Custom(String)
Caller-defined organism kind text.
Trait Implementations§
Source§impl Clone for OrganismKind
impl Clone for OrganismKind
Source§fn clone(&self) -> OrganismKind
fn clone(&self) -> OrganismKind
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 OrganismKind
impl Debug for OrganismKind
Source§impl Display for OrganismKind
impl Display for OrganismKind
Source§impl FromStr for OrganismKind
impl FromStr for OrganismKind
Source§impl Hash for OrganismKind
impl Hash for OrganismKind
Source§impl Ord for OrganismKind
impl Ord for OrganismKind
Source§fn cmp(&self, other: &OrganismKind) -> Ordering
fn cmp(&self, other: &OrganismKind) -> Ordering
1.21.0 · 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 OrganismKind
impl PartialEq for OrganismKind
Source§impl PartialOrd for OrganismKind
impl PartialOrd for OrganismKind
impl Eq for OrganismKind
impl StructuralPartialEq for OrganismKind
Auto Trait Implementations§
impl Freeze for OrganismKind
impl RefUnwindSafe for OrganismKind
impl Send for OrganismKind
impl Sync for OrganismKind
impl Unpin for OrganismKind
impl UnsafeUnpin for OrganismKind
impl UnwindSafe for OrganismKind
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