pub struct OwnedFastaBatch { /* private fields */ }Expand description
Owned FASTA batch that can be moved to worker threads.
Implementations§
Source§impl OwnedFastaBatch
impl OwnedFastaBatch
Sourcepub fn record_refs(&self) -> &[FastaRecordRef]
pub fn record_refs(&self) -> &[FastaRecordRef]
Record ranges within bytes.
Sourcepub fn first_record_index(&self) -> u64
pub fn first_record_index(&self) -> u64
Zero-based index of the first record in this batch.
Sourcepub fn records(&self) -> impl Iterator<Item = OwnedFastaRecord<'_>>
pub fn records(&self) -> impl Iterator<Item = OwnedFastaRecord<'_>>
Iterate borrowed records in this owned batch.
Trait Implementations§
Source§impl Clone for OwnedFastaBatch
impl Clone for OwnedFastaBatch
Source§fn clone(&self) -> OwnedFastaBatch
fn clone(&self) -> OwnedFastaBatch
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 moreSource§impl Debug for OwnedFastaBatch
impl Debug for OwnedFastaBatch
impl Eq for OwnedFastaBatch
Source§impl PartialEq for OwnedFastaBatch
impl PartialEq for OwnedFastaBatch
Source§fn eq(&self, other: &OwnedFastaBatch) -> bool
fn eq(&self, other: &OwnedFastaBatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OwnedFastaBatch
Auto Trait Implementations§
impl Freeze for OwnedFastaBatch
impl RefUnwindSafe for OwnedFastaBatch
impl Send for OwnedFastaBatch
impl Sync for OwnedFastaBatch
impl Unpin for OwnedFastaBatch
impl UnsafeUnpin for OwnedFastaBatch
impl UnwindSafe for OwnedFastaBatch
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