pub struct ReclassifyIterator<I, O> { /* private fields */ }
Expand description
CurveIterator
wrapper to change the Curve type to any compatibly CurveType
Trait Implementations§
Source§impl<AI, O, W> Aggregate<AI> for ReclassifyIterator<AggregationIterator<AI, W>, O>where
<AI as CurveIterator>::CurveKind: AggregateInto<O>,
AI: CurveIterator,
AI::CurveKind: CurveType<WindowKind = W>,
W: Debug,
impl<AI, O, W> Aggregate<AI> for ReclassifyIterator<AggregationIterator<AI, W>, O>where
<AI as CurveIterator>::CurveKind: AggregateInto<O>,
AI: CurveIterator,
AI::CurveKind: CurveType<WindowKind = W>,
W: Debug,
Source§fn aggregate<I>(iter: I) -> Selfwhere
I: Iterator<Item = AI>,
fn aggregate<I>(iter: I) -> Selfwhere
I: Iterator<Item = AI>,
aggregate all elements of
iter
into a new Self
pendant to core::iter::Sum
Source§impl<I: Clone, O> Clone for ReclassifyIterator<I, O>
impl<I: Clone, O> Clone for ReclassifyIterator<I, O>
Source§impl<I, O> CurveIterator for ReclassifyIterator<I, O>where
I: CurveIterator,
O: CurveType,
impl<I, O> CurveIterator for ReclassifyIterator<I, O>where
I: CurveIterator,
O: CurveType,
Source§fn next_window(&mut self) -> Option<Window<O::WindowKind>>
fn next_window(&mut self) -> Option<Window<O::WindowKind>>
calculate and returns the next window of the curve iterator
advancing the iterator in the process
Source§fn collect_curve<R: FromCurveIterator<Self::CurveKind>>(self) -> Rwhere
Self: Sized,
fn collect_curve<R: FromCurveIterator<Self::CurveKind>>(self) -> Rwhere
Self: Sized,
collect the iterator mirroring
core::iter::Iterator::collect
Source§fn reclassify<O>(self) -> ReclassifyIterator<Self, O>where
Self: Sized,
fn reclassify<O>(self) -> ReclassifyIterator<Self, O>where
Self: Sized,
reclassify a
CurveIterator
Source§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 windowsSource§fn take_while_curve<F>(
self,
fun: F,
) -> TakeWhile<CurveIteratorIterator<Self>, F>
fn take_while_curve<F>( self, fun: F, ) -> TakeWhile<CurveIteratorIterator<Self>, F>
Basically
core::iter::Iterator::take_while
but for CurveIterator
Source§fn fuse_curve(self) -> Fuse<CurveIteratorIterator<Self>>where
Self: Sized,
fn fuse_curve(self) -> Fuse<CurveIteratorIterator<Self>>where
Self: Sized,
Basically
core::iter::Iterator::fuse
but for CurveIterator
Source§fn into_iterator(self) -> CurveIteratorIterator<Self> ⓘwhere
Self: Sized,
fn into_iterator(self) -> CurveIteratorIterator<Self> ⓘwhere
Self: Sized,
Wrap the
CurveIterator
to allow usage of standart Iterator adaptersAuto Trait Implementations§
impl<I, O> Freeze for ReclassifyIterator<I, O>where
I: Freeze,
impl<I, O> RefUnwindSafe for ReclassifyIterator<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
impl<I, O> Send for ReclassifyIterator<I, O>
impl<I, O> Sync for ReclassifyIterator<I, O>
impl<I, O> Unpin for ReclassifyIterator<I, O>
impl<I, O> UnwindSafe for ReclassifyIterator<I, O>where
I: UnwindSafe,
O: UnwindSafe,
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