Struct rta_for_fps_lib::iterators::curve::InverseCurveIterator [−][src]
pub struct InverseCurveIterator<I, C> { /* fields omitted */ }
Expand description
Calculate the Inverse of a Curve directly rather than calculating the delta between total and the curve
Implementations
Trait Implementations
type CurveKind = C
type CurveKind = C
The type of the curve being iterated
calculate and returns the next window of the curve iterator advancing the iterator in the process Read more
collect the iterator mirroring core::iter::Iterator::collect
reclassify a CurveIterator
fn normalize(
self
) -> JoinAdjacentIterator<CurveIteratorIterator<Self>, <Self::CurveKind as CurveType>::WindowKind, Self::CurveKind> where
Self: Sized,
fn normalize(
self
) -> JoinAdjacentIterator<CurveIteratorIterator<Self>, <Self::CurveKind as CurveType>::WindowKind, Self::CurveKind> where
Self: Sized,
normalize the CurveIterator
by combining adjacent windows
fn take_while_curve<F>(
self,
fun: F
) -> TakeWhile<CurveIteratorIterator<Self>, F> where
Self: Sized,
F: for<'a> FnMut(&'a Window<<Self::CurveKind as CurveType>::WindowKind>) -> bool,
fn take_while_curve<F>(
self,
fun: F
) -> TakeWhile<CurveIteratorIterator<Self>, F> where
Self: Sized,
F: for<'a> FnMut(&'a Window<<Self::CurveKind as CurveType>::WindowKind>) -> bool,
Basically core::iter::Iterator::take_while
but for CurveIterator
Basically core::iter::Iterator::fuse
but for CurveIterator
fn into_iterator(self) -> CurveIteratorIterator<Self>ⓘNotable traits for CurveIteratorIterator<I>
impl<I> Iterator for CurveIteratorIterator<I> where
I: CurveIterator, type Item = Window<<I::CurveKind as CurveType>::WindowKind>;
where
Self: Sized,
fn into_iterator(self) -> CurveIteratorIterator<Self>ⓘNotable traits for CurveIteratorIterator<I>
impl<I> Iterator for CurveIteratorIterator<I> where
I: CurveIterator, type Item = Window<<I::CurveKind as CurveType>::WindowKind>;
where
Self: Sized,
Wrap the CurveIterator
to allow usage of standart Iterator adapters
Auto Trait Implementations
impl<I, C> Send for InverseCurveIterator<I, C> where
C: Send,
I: Send,
impl<I, C> Sync for InverseCurveIterator<I, C> where
C: Sync,
I: Sync,
impl<I, C> Unpin for InverseCurveIterator<I, C> where
C: Unpin,
I: Unpin,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_box(
&Self
) -> Box<dyn ClonableCurveIterator<'b, CurveKind = <T as CurveIterator>::CurveKind> + 'b, Global>