pub struct NucMatrix { /* private fields */ }Expand description
Nucleotide scoring matrix.
Supports characters A, C, G, N, and T. Lowercase characters are uppercased.
If a larger alphabet is needed (for example, with IUPAC characters), use AAMatrix instead.
Implementations§
Trait Implementations§
Source§impl Matrix for NucMatrix
impl Matrix for NucMatrix
Source§unsafe fn get_scores(&self, c: u8, v: HalfSimd, _right: bool) -> Simd
unsafe fn get_scores(&self, c: u8, v: HalfSimd, _right: bool) -> Simd
Get the scores for a certain byte and a certain SIMD vector of bytes.
Source§fn convert_char(c: u8) -> u8
fn convert_char(c: u8) -> u8
Convert a byte to a better storage format that makes retrieving scores
easier.
impl StructuralPartialEq for NucMatrix
Auto Trait Implementations§
impl Freeze for NucMatrix
impl RefUnwindSafe for NucMatrix
impl Send for NucMatrix
impl Sync for NucMatrix
impl Unpin for NucMatrix
impl UnwindSafe for NucMatrix
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