pub enum ByteClass {
Residue,
Gap,
Missing,
Ambiguity,
Stop,
Frameshift,
Whitespace,
Unknown,
}Expand description
Class of a sequence byte (see the documentation’s symbol tables).
Variants§
Residue
A residue of the alphabet.
Gap
Alignment gap (-, ., _).
Missing
Missing data (~, ?).
Ambiguity
Ambiguity code (IUPAC).
Stop
Stop codon (*, $, ^).
Frameshift
Frameshift (#).
Whitespace
Whitespace inside a sequence line (ignored).
Unknown
Not valid for the alphabet.
Implementations§
Trait Implementations§
impl Copy for ByteClass
Source§impl<'de> Deserialize<'de> for ByteClass
impl<'de> Deserialize<'de> for ByteClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ByteClass
Source§impl Ord for ByteClass
impl Ord for ByteClass
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 PartialOrd for ByteClass
impl PartialOrd for ByteClass
impl StructuralPartialEq for ByteClass
Auto Trait Implementations§
impl Freeze for ByteClass
impl RefUnwindSafe for ByteClass
impl Send for ByteClass
impl Sync for ByteClass
impl Unpin for ByteClass
impl UnsafeUnpin for ByteClass
impl UnwindSafe for ByteClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more