pub struct SliceSource { /* private fields */ }Expand description
An in-memory read source. Sorts the provided reads by (contig, pos) on
construction so callers need not pre-sort.
Implementations§
Source§impl SliceSource
impl SliceSource
Sourcepub fn new(reads: Vec<AlignedRead>) -> Self
pub fn new(reads: Vec<AlignedRead>) -> Self
Build a source from reads (sorted by (contig, pos) here).
Trait Implementations§
Source§impl Debug for SliceSource
impl Debug for SliceSource
Source§impl ReadSource for SliceSource
impl ReadSource for SliceSource
Auto Trait Implementations§
impl Freeze for SliceSource
impl RefUnwindSafe for SliceSource
impl Send for SliceSource
impl Sync for SliceSource
impl Unpin for SliceSource
impl UnsafeUnpin for SliceSource
impl UnwindSafe for SliceSource
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