Enum EnergyFlowDirection
pub enum EnergyFlowDirection {
ProducerToConsumer,
PreyToPredator,
DetritusToDecomposer,
Unknown,
Custom(String),
}Variants§
Trait Implementations§
§impl Clone for EnergyFlowDirection
impl Clone for EnergyFlowDirection
§fn clone(&self) -> EnergyFlowDirection
fn clone(&self) -> EnergyFlowDirection
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 more§impl Debug for EnergyFlowDirection
impl Debug for EnergyFlowDirection
§impl Display for EnergyFlowDirection
impl Display for EnergyFlowDirection
§impl FromStr for EnergyFlowDirection
impl FromStr for EnergyFlowDirection
§type Err = EnergyFlowDirectionParseError
type Err = EnergyFlowDirectionParseError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<EnergyFlowDirection, <EnergyFlowDirection as FromStr>::Err>
fn from_str( value: &str, ) -> Result<EnergyFlowDirection, <EnergyFlowDirection as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for EnergyFlowDirection
impl Hash for EnergyFlowDirection
§impl Ord for EnergyFlowDirection
impl Ord for EnergyFlowDirection
§fn cmp(&self, other: &EnergyFlowDirection) -> Ordering
fn cmp(&self, other: &EnergyFlowDirection) -> 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
§impl PartialEq for EnergyFlowDirection
impl PartialEq for EnergyFlowDirection
§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