pub enum AlphabetKind {
Dna,
Rna,
Protein,
DnaWithAmbiguity,
RnaWithAmbiguity,
ProteinWithAmbiguity,
Custom(String),
}Expand description
A descriptive kind for a biological alphabet.
Variants§
Dna
DNA alphabet.
Rna
RNA alphabet.
Protein
Protein alphabet.
DnaWithAmbiguity
DNA alphabet including ambiguity symbols.
RnaWithAmbiguity
RNA alphabet including ambiguity symbols.
ProteinWithAmbiguity
Protein alphabet including ambiguity symbols.
Custom(String)
Domain-specific alphabet.
Trait Implementations§
Source§impl Clone for AlphabetKind
impl Clone for AlphabetKind
Source§fn clone(&self) -> AlphabetKind
fn clone(&self) -> AlphabetKind
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 moreSource§impl Debug for AlphabetKind
impl Debug for AlphabetKind
Source§impl Display for AlphabetKind
impl Display for AlphabetKind
Source§impl FromStr for AlphabetKind
impl FromStr for AlphabetKind
Source§impl Hash for AlphabetKind
impl Hash for AlphabetKind
Source§impl Ord for AlphabetKind
impl Ord for AlphabetKind
Source§fn cmp(&self, other: &AlphabetKind) -> Ordering
fn cmp(&self, other: &AlphabetKind) -> 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
Source§impl PartialEq for AlphabetKind
impl PartialEq for AlphabetKind
Source§impl PartialOrd for AlphabetKind
impl PartialOrd for AlphabetKind
impl Eq for AlphabetKind
impl StructuralPartialEq for AlphabetKind
Auto Trait Implementations§
impl Freeze for AlphabetKind
impl RefUnwindSafe for AlphabetKind
impl Send for AlphabetKind
impl Sync for AlphabetKind
impl Unpin for AlphabetKind
impl UnsafeUnpin for AlphabetKind
impl UnwindSafe for AlphabetKind
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