[][src]Struct prisma::channel::bounded_channel::NormalBoundedChannel

#[repr(transparent)]pub struct NormalBoundedChannel<T>(pub T);

A channel bounded between a minimum and a maximum value

Trait Implementations

impl<T> AbsDiffEq<NormalBoundedChannel<T>> for NormalBoundedChannel<T> where
    T: NormalChannelScalar + AbsDiffEq
[src]

type Epsilon = T::Epsilon

Used for specifying relative comparisons.

impl<T> Bounded for NormalBoundedChannel<T> where
    T: NormalChannelScalar
[src]

impl<T> ChannelCast for NormalBoundedChannel<T> where
    T: NormalChannelScalar
[src]

impl<T: Clone> Clone for NormalBoundedChannel<T>[src]

impl<T> ColorChannel for NormalBoundedChannel<T> where
    T: NormalChannelScalar
[src]

type Format = T

The contained type representing the channel. Format can be a wrapper around a scalar, such as an Angle<f32>, or a scalar itself. Read more

type Scalar = T

The scalar type used by the channel. This will be the scalar inside of a wrapper type.

type Tag = NormalChannelTag

A unique identifying tag type used in generic contexts

impl<T: Copy> Copy for NormalBoundedChannel<T>[src]

impl<T: Debug> Debug for NormalBoundedChannel<T>[src]

impl<T> Default for NormalBoundedChannel<T> where
    T: NormalChannelScalar + Zero
[src]

impl<T> Display for NormalBoundedChannel<T> where
    T: NormalChannelScalar + Display
[src]

impl<T: Eq> Eq for NormalBoundedChannel<T>[src]

impl<T: Hash> Hash for NormalBoundedChannel<T>[src]

impl<T> Invert for NormalBoundedChannel<T> where
    T: NormalChannelScalar
[src]

impl<T> Lerp for NormalBoundedChannel<T> where
    T: NormalChannelScalar + Lerp
[src]

type Position = <T as Lerp>::Position

The type of the pos argument

impl<T: Ord> Ord for NormalBoundedChannel<T>[src]

impl<T: PartialEq> PartialEq<NormalBoundedChannel<T>> for NormalBoundedChannel<T>[src]

impl<T: PartialOrd> PartialOrd<NormalBoundedChannel<T>> for NormalBoundedChannel<T>[src]

impl<T> RelativeEq<NormalBoundedChannel<T>> for NormalBoundedChannel<T> where
    T: NormalChannelScalar + RelativeEq
[src]

impl<T> StructuralEq for NormalBoundedChannel<T>[src]

impl<T> StructuralPartialEq for NormalBoundedChannel<T>[src]

impl<T> UlpsEq<NormalBoundedChannel<T>> for NormalBoundedChannel<T> where
    T: NormalChannelScalar + UlpsEq
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for NormalBoundedChannel<T> where
    T: RefUnwindSafe

impl<T> Send for NormalBoundedChannel<T> where
    T: Send

impl<T> Sync for NormalBoundedChannel<T> where
    T: Sync

impl<T> Unpin for NormalBoundedChannel<T> where
    T: Unpin

impl<T> UnwindSafe for NormalBoundedChannel<T> where
    T: 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> ToString for T where
    T: Display + ?Sized
[src]

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.