pub struct Interpolator<P>(pub P);Expand description
Adapts an interpolator to output chunk mode
The inner processor is called with Some(x) once and then None N-1 times
Tuple Fields§
§0: PTrait Implementations§
Source§impl<P: Clone> Clone for Interpolator<P>
impl<P: Clone> Clone for Interpolator<P>
Source§fn clone(&self) -> Interpolator<P>
fn clone(&self) -> Interpolator<P>
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<P: Debug> Debug for Interpolator<P>
impl<P: Debug> Debug for Interpolator<P>
Source§impl<P: Default> Default for Interpolator<P>
impl<P: Default> Default for Interpolator<P>
Source§fn default() -> Interpolator<P>
fn default() -> Interpolator<P>
Returns the “default value” for a type. Read more
Source§impl<X: Copy, C, S> SplitInplace<X, S> for Interpolator<C>where
Self: SplitProcess<X, X, S>,
impl<X: Copy, C, S> SplitInplace<X, S> for Interpolator<C>where
Self: SplitProcess<X, X, S>,
Source§impl<X: Copy, Y, C: SplitProcess<Option<X>, Y, S>, S, const N: usize> SplitProcess<X, [Y; N], S> for Interpolator<C>
impl<X: Copy, Y, C: SplitProcess<Option<X>, Y, S>, S, const N: usize> SplitProcess<X, [Y; N], S> for Interpolator<C>
Auto Trait Implementations§
impl<P> Freeze for Interpolator<P>where
P: Freeze,
impl<P> RefUnwindSafe for Interpolator<P>where
P: RefUnwindSafe,
impl<P> Send for Interpolator<P>where
P: Send,
impl<P> Sync for Interpolator<P>where
P: Sync,
impl<P> Unpin for Interpolator<P>where
P: Unpin,
impl<P> UnwindSafe for Interpolator<P>where
P: 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