Struct TaxonomicLineage
pub struct TaxonomicLineage { /* private fields */ }Expand description
An ordered taxonomic lineage.
Implementations§
§impl TaxonomicLineage
impl TaxonomicLineage
pub const fn new(taxa: Vec<Taxon>) -> TaxonomicLineage
pub const fn new(taxa: Vec<Taxon>) -> TaxonomicLineage
Creates a lineage from caller-supplied taxon order.
Trait Implementations§
§impl Clone for TaxonomicLineage
impl Clone for TaxonomicLineage
§fn clone(&self) -> TaxonomicLineage
fn clone(&self) -> TaxonomicLineage
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 TaxonomicLineage
impl Debug for TaxonomicLineage
§impl From<Vec<Taxon>> for TaxonomicLineage
impl From<Vec<Taxon>> for TaxonomicLineage
§fn from(taxa: Vec<Taxon>) -> TaxonomicLineage
fn from(taxa: Vec<Taxon>) -> TaxonomicLineage
Converts to this type from the input type.
§impl Hash for TaxonomicLineage
impl Hash for TaxonomicLineage
§impl Ord for TaxonomicLineage
impl Ord for TaxonomicLineage
§fn cmp(&self, other: &TaxonomicLineage) -> Ordering
fn cmp(&self, other: &TaxonomicLineage) -> 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 TaxonomicLineage
impl PartialEq for TaxonomicLineage
§impl PartialOrd for TaxonomicLineage
impl PartialOrd for TaxonomicLineage
impl Eq for TaxonomicLineage
impl StructuralPartialEq for TaxonomicLineage
Auto Trait Implementations§
impl Freeze for TaxonomicLineage
impl RefUnwindSafe for TaxonomicLineage
impl Send for TaxonomicLineage
impl Sync for TaxonomicLineage
impl Unpin for TaxonomicLineage
impl UnsafeUnpin for TaxonomicLineage
impl UnwindSafe for TaxonomicLineage
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