pub enum NucleotideKind {
Dna,
Rna,
Shared,
Gap,
Ambiguous,
Unknown,
Custom(String),
}Expand description
A descriptive nucleotide kind.
Variants§
Dna
A DNA-only nucleotide symbol.
Rna
An RNA-only nucleotide symbol.
A nucleotide symbol shared by DNA and RNA alphabets.
Gap
Gap symbol.
Ambiguous
Ambiguous nucleotide symbol.
Unknown
Unknown nucleotide symbol.
Custom(String)
Domain-specific nucleotide kind.
Trait Implementations§
Source§impl Clone for NucleotideKind
impl Clone for NucleotideKind
Source§fn clone(&self) -> NucleotideKind
fn clone(&self) -> NucleotideKind
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 NucleotideKind
impl Debug for NucleotideKind
Source§impl Display for NucleotideKind
impl Display for NucleotideKind
Source§impl FromStr for NucleotideKind
impl FromStr for NucleotideKind
Source§impl Hash for NucleotideKind
impl Hash for NucleotideKind
Source§impl Ord for NucleotideKind
impl Ord for NucleotideKind
Source§fn cmp(&self, other: &NucleotideKind) -> Ordering
fn cmp(&self, other: &NucleotideKind) -> 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 NucleotideKind
impl PartialEq for NucleotideKind
Source§fn eq(&self, other: &NucleotideKind) -> bool
fn eq(&self, other: &NucleotideKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NucleotideKind
impl PartialOrd for NucleotideKind
impl Eq for NucleotideKind
impl StructuralPartialEq for NucleotideKind
Auto Trait Implementations§
impl Freeze for NucleotideKind
impl RefUnwindSafe for NucleotideKind
impl Send for NucleotideKind
impl Sync for NucleotideKind
impl Unpin for NucleotideKind
impl UnsafeUnpin for NucleotideKind
impl UnwindSafe for NucleotideKind
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