pub struct Clamp<G>(/* private fields */);Expand description
Wrapper for curves to clamp input to their domain.
This struct is constructed through the clamp() method of curves.
Please look there for more information.
Implementations§
Trait Implementations§
Source§impl<G, R> Curve<R> for Clamp<G>
impl<G, R> Curve<R> for Clamp<G>
Source§impl<G, R> Signal<R> for Clamp<G>
impl<G, R> Signal<R> for Clamp<G>
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> Copy for Clamp<G>
impl<G> StructuralPartialEq for Clamp<G>
Auto Trait Implementations§
impl<G> Freeze for Clamp<G>where
G: Freeze,
impl<G> RefUnwindSafe for Clamp<G>where
G: RefUnwindSafe,
impl<G> Send for Clamp<G>where
G: Send,
impl<G> Sync for Clamp<G>where
G: Sync,
impl<G> Unpin for Clamp<G>where
G: Unpin,
impl<G> UnwindSafe for Clamp<G>where
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