pub struct Ncbi2naBase(/* private fields */);
Expand description
Single byte base representation that only consumes 2 bits per base.
This may only represent unambiguous bases (A, C, G, T/U).
Trait Implementations§
Source§impl Clone for Ncbi2naBase
impl Clone for Ncbi2naBase
Source§fn clone(&self) -> Ncbi2naBase
fn clone(&self) -> Ncbi2naBase
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Ncbi2naBase
impl Debug for Ncbi2naBase
Source§impl From<Ncbi2naBase> for Ncbi8naBase
impl From<Ncbi2naBase> for Ncbi8naBase
Source§fn from(value: Ncbi2naBase) -> Self
fn from(value: Ncbi2naBase) -> Self
Converts to this type from the input type.
Source§impl From<Ncbi2naBase> for char
impl From<Ncbi2naBase> for char
Source§fn from(value: Ncbi2naBase) -> Self
fn from(value: Ncbi2naBase) -> Self
Converts to this type from the input type.
Source§impl From<Ncbi2naBase> for u8
impl From<Ncbi2naBase> for u8
Source§fn from(value: Ncbi2naBase) -> Self
fn from(value: Ncbi2naBase) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Ncbi2naBase
impl PartialEq for Ncbi2naBase
Source§impl TryFrom<Ncbi8naBase> for Ncbi2naBase
impl TryFrom<Ncbi8naBase> for Ncbi2naBase
Source§type Error = NucleotideConversionError
type Error = NucleotideConversionError
The type returned in the event of a conversion error.
impl Copy for Ncbi2naBase
impl Eq for Ncbi2naBase
impl StructuralPartialEq for Ncbi2naBase
Auto Trait Implementations§
impl Freeze for Ncbi2naBase
impl RefUnwindSafe for Ncbi2naBase
impl Send for Ncbi2naBase
impl Sync for Ncbi2naBase
impl Unpin for Ncbi2naBase
impl UnwindSafe for Ncbi2naBase
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