pub struct GIntervalIndexSet { /* private fields */ }Expand description
A Bed map that preserves the order.
Implementations§
Source§impl GIntervalIndexSet
impl GIntervalIndexSet
pub fn len(&self) -> usize
pub fn iter(&self) -> impl Iterator<Item = &GenomicRange>
pub fn is_overlapped<B: BEDLike>(&self, bed: &B) -> bool
Sourcepub fn find<B: BEDLike>(
&self,
bed: &B,
) -> impl Iterator<Item = GenomicRange> + '_
pub fn find<B: BEDLike>( &self, bed: &B, ) -> impl Iterator<Item = GenomicRange> + '_
Note the results may be returned in arbitrary order.
Sourcepub fn find_index_of<B: BEDLike>(
&self,
bed: &B,
) -> impl Iterator<Item = usize> + '_
pub fn find_index_of<B: BEDLike>( &self, bed: &B, ) -> impl Iterator<Item = usize> + '_
Note the results may be returned in arbitrary order.
pub fn find_full<B: BEDLike>(&self, bed: &B) -> GIntervalQueryIter<'_, usize> ⓘ
pub fn get(&self, index: usize) -> Option<&GenomicRange>
Trait Implementations§
Source§impl Clone for GIntervalIndexSet
impl Clone for GIntervalIndexSet
Source§fn clone(&self) -> GIntervalIndexSet
fn clone(&self) -> GIntervalIndexSet
Returns a duplicate of the value. Read more
1.0.0 · 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 GIntervalIndexSet
impl Debug for GIntervalIndexSet
Source§impl<B: BEDLike> FromIterator<B> for GIntervalIndexSet
impl<B: BEDLike> FromIterator<B> for GIntervalIndexSet
Source§fn from_iter<I: IntoIterator<Item = B>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = B>>(iter: I) -> Self
Creates a value from an iterator. Read more
Source§impl Index<usize> for GIntervalIndexSet
impl Index<usize> for GIntervalIndexSet
Source§impl IntoIterator for GIntervalIndexSet
impl IntoIterator for GIntervalIndexSet
Auto Trait Implementations§
impl Freeze for GIntervalIndexSet
impl RefUnwindSafe for GIntervalIndexSet
impl Send for GIntervalIndexSet
impl Sync for GIntervalIndexSet
impl Unpin for GIntervalIndexSet
impl UnwindSafe for GIntervalIndexSet
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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