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