Enum DiversityIndexKind
pub enum DiversityIndexKind {
SpeciesRichness,
Shannon,
Simpson,
Evenness,
BetaDiversity,
PhylogeneticDiversity,
Unknown,
Custom(String),
}Variants§
SpeciesRichness
Shannon
Simpson
Evenness
BetaDiversity
PhylogeneticDiversity
Unknown
Custom(String)
Trait Implementations§
§impl Clone for DiversityIndexKind
impl Clone for DiversityIndexKind
§fn clone(&self) -> DiversityIndexKind
fn clone(&self) -> DiversityIndexKind
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 DiversityIndexKind
impl Debug for DiversityIndexKind
§impl Display for DiversityIndexKind
impl Display for DiversityIndexKind
§impl FromStr for DiversityIndexKind
impl FromStr for DiversityIndexKind
§type Err = DiversityIndexKindParseError
type Err = DiversityIndexKindParseError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<DiversityIndexKind, <DiversityIndexKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<DiversityIndexKind, <DiversityIndexKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for DiversityIndexKind
impl Hash for DiversityIndexKind
§impl Ord for DiversityIndexKind
impl Ord for DiversityIndexKind
§fn cmp(&self, other: &DiversityIndexKind) -> Ordering
fn cmp(&self, other: &DiversityIndexKind) -> 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 DiversityIndexKind
impl PartialEq for DiversityIndexKind
§impl PartialOrd for DiversityIndexKind
impl PartialOrd for DiversityIndexKind
impl Eq for DiversityIndexKind
impl StructuralPartialEq for DiversityIndexKind
Auto Trait Implementations§
impl Freeze for DiversityIndexKind
impl RefUnwindSafe for DiversityIndexKind
impl Send for DiversityIndexKind
impl Sync for DiversityIndexKind
impl Unpin for DiversityIndexKind
impl UnsafeUnpin for DiversityIndexKind
impl UnwindSafe for DiversityIndexKind
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