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