pub struct FastqRecord<'a> { /* private fields */ }Expand description
Borrowed view of one FASTQ record inside a FastqBatch.
The record borrows from the batch’s slab buffer and cannot outlive the batch. Accessors return byte slices rather than UTF-8 strings because FASTQ names and qualities are byte-oriented.
Implementations§
Source§impl<'a> FastqRecord<'a>
impl<'a> FastqRecord<'a>
Sourcepub fn name_without_at(self) -> &'a [u8] ⓘ
pub fn name_without_at(self) -> &'a [u8] ⓘ
Return the header line without a leading @.
Sourcepub fn pair_normalized_id(self) -> &'a [u8] ⓘ
pub fn pair_normalized_id(self) -> &'a [u8] ⓘ
Return the identifier token with a trailing /1 or /2 removed.
Trait Implementations§
Source§impl<'a> Clone for FastqRecord<'a>
impl<'a> Clone for FastqRecord<'a>
Source§fn clone(&self) -> FastqRecord<'a>
fn clone(&self) -> FastqRecord<'a>
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 moreimpl<'a> Copy for FastqRecord<'a>
Auto Trait Implementations§
impl<'a> Freeze for FastqRecord<'a>
impl<'a> RefUnwindSafe for FastqRecord<'a>
impl<'a> Send for FastqRecord<'a>
impl<'a> Sync for FastqRecord<'a>
impl<'a> Unpin for FastqRecord<'a>
impl<'a> UnsafeUnpin for FastqRecord<'a>
impl<'a> UnwindSafe for FastqRecord<'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