pub enum EnergyFlowDirection {
ProducerToConsumer,
PreyToPredator,
DetritusToDecomposer,
Unknown,
Custom(String),
}Variants§
Trait Implementations§
Source§impl Clone for EnergyFlowDirection
impl Clone for EnergyFlowDirection
Source§fn clone(&self) -> EnergyFlowDirection
fn clone(&self) -> EnergyFlowDirection
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 EnergyFlowDirection
impl Debug for EnergyFlowDirection
Source§impl Display for EnergyFlowDirection
impl Display for EnergyFlowDirection
Source§impl FromStr for EnergyFlowDirection
impl FromStr for EnergyFlowDirection
Source§impl Hash for EnergyFlowDirection
impl Hash for EnergyFlowDirection
Source§impl Ord for EnergyFlowDirection
impl Ord for EnergyFlowDirection
Source§fn cmp(&self, other: &EnergyFlowDirection) -> Ordering
fn cmp(&self, other: &EnergyFlowDirection) -> 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 EnergyFlowDirection
impl PartialEq for EnergyFlowDirection
Source§fn eq(&self, other: &EnergyFlowDirection) -> bool
fn eq(&self, other: &EnergyFlowDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EnergyFlowDirection
impl PartialOrd for EnergyFlowDirection
impl Eq for EnergyFlowDirection
impl StructuralPartialEq for EnergyFlowDirection
Auto Trait Implementations§
impl Freeze for EnergyFlowDirection
impl RefUnwindSafe for EnergyFlowDirection
impl Send for EnergyFlowDirection
impl Sync for EnergyFlowDirection
impl Unpin for EnergyFlowDirection
impl UnsafeUnpin for EnergyFlowDirection
impl UnwindSafe for EnergyFlowDirection
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