pub struct QualityScores<'a>(/* private fields */);
Expand description
Raw SAM record quality scores.
Implementations§
Source§impl<'a> QualityScores<'a>
impl<'a> QualityScores<'a>
Sourcepub fn new(buf: &'a [u8]) -> Self
pub fn new(buf: &'a [u8]) -> Self
Creates raw SAM record quality scores.
§Examples
use noodles_sam::record::QualityScores;
let quality_scores = QualityScores::new(b"NDLS");
Trait Implementations§
Source§impl<'a> AsRef<[u8]> for QualityScores<'a>
impl<'a> AsRef<[u8]> for QualityScores<'a>
Source§impl<'a> Debug for QualityScores<'a>
impl<'a> Debug for QualityScores<'a>
Source§impl<'a> PartialEq for QualityScores<'a>
impl<'a> PartialEq for QualityScores<'a>
Source§impl<'a> QualityScores for QualityScores<'a>
impl<'a> QualityScores for QualityScores<'a>
impl<'a> Eq for QualityScores<'a>
impl<'a> StructuralPartialEq for QualityScores<'a>
Auto Trait Implementations§
impl<'a> Freeze for QualityScores<'a>
impl<'a> RefUnwindSafe for QualityScores<'a>
impl<'a> Send for QualityScores<'a>
impl<'a> Sync for QualityScores<'a>
impl<'a> Unpin for QualityScores<'a>
impl<'a> UnwindSafe for QualityScores<'a>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.