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

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

A channel bounded between 0 and a maximum value

Trait Implementations

impl<T> AbsDiffEq<PosNormalBoundedChannel<T>> for PosNormalBoundedChannel<T> where
    T: PosNormalChannelScalar + AbsDiffEq
[src]

type Epsilon = T::Epsilon

Used for specifying relative comparisons.

impl<T> Bounded for PosNormalBoundedChannel<T> where
    T: PosNormalChannelScalar
[src]

impl<T> ChannelCast for PosNormalBoundedChannel<T> where
    T: PosNormalChannelScalar
[src]

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

impl<T> ColorChannel for PosNormalBoundedChannel<T> where
    T: PosNormalChannelScalar
[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 = PosNormalChannelTag

A unique identifying tag type used in generic contexts

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

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

impl<T> Default for PosNormalBoundedChannel<T> where
    T: PosNormalChannelScalar + Zero
[src]

impl<T> Display for PosNormalBoundedChannel<T> where
    T: PosNormalChannelScalar + Display
[src]

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

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

impl<T> Invert for PosNormalBoundedChannel<T> where
    T: PosNormalChannelScalar
[src]

impl<T> Lerp for PosNormalBoundedChannel<T> where
    T: PosNormalChannelScalar + Lerp
[src]

type Position = <T as Lerp>::Position

The type of the pos argument

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

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

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

impl<T> RelativeEq<PosNormalBoundedChannel<T>> for PosNormalBoundedChannel<T> where
    T: PosNormalChannelScalar + RelativeEq
[src]

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

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

impl<T> UlpsEq<PosNormalBoundedChannel<T>> for PosNormalBoundedChannel<T> where
    T: PosNormalChannelScalar + UlpsEq
[src]

Auto Trait Implementations

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

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

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

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

impl<T> UnwindSafe for PosNormalBoundedChannel<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.