pub struct Slice<G, R>(/* private fields */);Expand description
Acts like a slice of a curve.
That is, a slice of a curve has the same domain as the curve itself but maps the domain onto the range given.
This struct is created by the slice() method. Please look their for more information.
Implementations§
Trait Implementations§
Source§impl<G, R> Curve<R> for Slice<G, R>
impl<G, R> Curve<R> for Slice<G, R>
Source§impl<G, R> Signal<R> for Slice<G, R>
impl<G, R> Signal<R> for Slice<G, R>
Source§fn extract<I, J>(self, iterator: I) -> Extract<Self, J> ⓘ
fn extract<I, J>(self, iterator: I) -> Extract<Self, J> ⓘ
Helper function if one wants to extract values from the interpolation. Read more
Source§fn stack<G>(self, signal: G) -> Stack<Self, G>where
Self: Sized,
fn stack<G>(self, signal: G) -> Stack<Self, G>where
Self: Sized,
Stack two signals together Read more
impl<G: Copy, R: Copy> Copy for Slice<G, R>
impl<G, R> StructuralPartialEq for Slice<G, R>
Auto Trait Implementations§
impl<G, R> Freeze for Slice<G, R>
impl<G, R> RefUnwindSafe for Slice<G, R>where
R: RefUnwindSafe,
G: RefUnwindSafe,
impl<G, R> Send for Slice<G, R>
impl<G, R> Sync for Slice<G, R>
impl<G, R> Unpin for Slice<G, R>
impl<G, R> UnwindSafe for Slice<G, R>where
R: UnwindSafe,
G: 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