[][src]Struct langis::comp::Clamp

pub struct Clamp<S, Min, Max> { /* fields omitted */ }

Clamps the values of S between Min and Max.

Trait Implementations

impl<S: Clone, Min: Clone, Max: Clone> Clone for Clamp<S, Min, Max>[src]

impl<S, Min, Max> Signal for Clamp<S, Min, Max> where
    S: Signal,
    Min: Signal<Type = S::Type>,
    Max: Signal<Type = S::Type>,
    S::Type: Ord
[src]

type Type = S::Type

The type of the signal.

Auto Trait Implementations

impl<S, Min, Max> RefUnwindSafe for Clamp<S, Min, Max> where
    Max: RefUnwindSafe,
    Min: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, Min, Max> Send for Clamp<S, Min, Max> where
    Max: Send,
    Min: Send,
    S: Send

impl<S, Min, Max> Sync for Clamp<S, Min, Max> where
    Max: Sync,
    Min: Sync,
    S: Sync

impl<S, Min, Max> Unpin for Clamp<S, Min, Max> where
    Max: Unpin,
    Min: Unpin,
    S: Unpin

impl<S, Min, Max> UnwindSafe for Clamp<S, Min, Max> where
    Max: UnwindSafe,
    Min: UnwindSafe,
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,