pub struct IntCOStack<I>where
I: IntCO,{ /* private fields */ }Implementations§
Source§impl<I> IntCOStack<I>where
I: IntCO,
impl<I> IntCOStack<I>where
I: IntCO,
pub fn change_points(&self) -> &[ChangePoint<I::CoordType>]
pub fn height_at(&self, x: I::CoordType) -> usize
pub fn max_height(&self) -> usize
Source§impl<I> IntCOStack<I>where
I: IntCO,
impl<I> IntCOStack<I>where
I: IntCO,
pub fn iter_intervals(&self) -> impl Iterator<Item = (I, usize)>
pub fn iter_intervals_at_least( &self, min_height: usize, ) -> impl Iterator<Item = (I, usize)>
pub fn iter_intervals_at_most( &self, max_height: usize, ) -> impl Iterator<Item = (I, usize)>
pub fn iter_intervals_exactly( &self, target_height: usize, ) -> impl Iterator<Item = (I, usize)>
pub fn iter_intervals_between( &self, min_height: usize, max_height: usize, ) -> impl Iterator<Item = (I, usize)>
pub fn peak_intervals(&self) -> impl Iterator<Item = (I, usize)>
Source§impl<I> IntCOStack<I>where
I: IntCO,
impl<I> IntCOStack<I>where
I: IntCO,
Trait Implementations§
Source§impl<I> Clone for IntCOStack<I>
impl<I> Clone for IntCOStack<I>
Source§fn clone(&self) -> IntCOStack<I>
fn clone(&self) -> IntCOStack<I>
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<I> Debug for IntCOStack<I>
impl<I> Debug for IntCOStack<I>
Source§impl<I> Default for IntCOStack<I>where
I: IntCO,
impl<I> Default for IntCOStack<I>where
I: IntCO,
Source§impl<I> FromIterator<I> for IntCOStack<I>where
I: IntCO,
impl<I> FromIterator<I> for IntCOStack<I>where
I: IntCO,
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = I>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = I>,
Creates a value from an iterator. Read more
Source§impl<I> FromParallelIterator<I> for IntCOStack<I>
impl<I> FromParallelIterator<I> for IntCOStack<I>
Source§fn from_par_iter<T>(par_iter: T) -> Selfwhere
T: IntoParallelIterator<Item = I>,
fn from_par_iter<T>(par_iter: T) -> Selfwhere
T: IntoParallelIterator<Item = I>,
Creates an instance of the collection from the parallel iterator
par_iter. Read moreSource§impl<I> PartialEq for IntCOStack<I>
impl<I> PartialEq for IntCOStack<I>
Source§fn eq(&self, other: &IntCOStack<I>) -> bool
fn eq(&self, other: &IntCOStack<I>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<I> Eq for IntCOStack<I>
impl<I> StructuralPartialEq for IntCOStack<I>where
I: IntCO,
Auto Trait Implementations§
impl<I> Freeze for IntCOStack<I>
impl<I> RefUnwindSafe for IntCOStack<I>
impl<I> Send for IntCOStack<I>
impl<I> Sync for IntCOStack<I>
impl<I> Unpin for IntCOStack<I>
impl<I> UnsafeUnpin for IntCOStack<I>
impl<I> UnwindSafe for IntCOStack<I>
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