Enum AlphabetKind
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§
§impl Clone for AlphabetKind
impl Clone for AlphabetKind
§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 more§impl Debug for AlphabetKind
impl Debug for AlphabetKind
§impl Display for AlphabetKind
impl Display for AlphabetKind
§impl FromStr for AlphabetKind
impl FromStr for AlphabetKind
§type Err = Infallible
type Err = Infallible
The associated error which can be returned from parsing.
§fn from_str(value: &str) -> Result<AlphabetKind, <AlphabetKind as FromStr>::Err>
fn from_str(value: &str) -> Result<AlphabetKind, <AlphabetKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AlphabetKind
impl Hash for AlphabetKind
§impl Ord for AlphabetKind
impl Ord for AlphabetKind
§impl PartialEq for AlphabetKind
impl PartialEq for AlphabetKind
§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