pub struct LocusWalk { /* private fields */ }Expand description
A walk over loci, one step per locus.
Implementations§
Source§impl LocusWalk
impl LocusWalk
pub fn plan(reader: &CramReader, req: &EntriesRequest) -> Result<Self>
pub fn plan_windows( reader: &CramReader, req: &EntriesRequest, span: i64, ) -> Result<Self>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn order(&self) -> &[usize]
pub fn next_window( &mut self, reader: &CramReader, ) -> Option<Result<Vec<BamRecord>>>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LocusWalk
impl !UnwindSafe for LocusWalk
impl Freeze for LocusWalk
impl Send for LocusWalk
impl Sync for LocusWalk
impl Unpin for LocusWalk
impl UnsafeUnpin for LocusWalk
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more