[][src]Struct prisma::channel::angular_channel::AngularChannel

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

A channel that is represented by an angle

Implementations

impl<T> AngularChannel<T> where
    T: Angle
[src]

pub fn new(val: T) -> Self[src]

Construct a new AngularChannel

Trait Implementations

impl<T> AbsDiffEq<AngularChannel<T>> for AngularChannel<T> where
    T: Angle + AbsDiffEq,
    T::Epsilon: Float
[src]

type Epsilon = T::Epsilon

Used for specifying relative comparisons.

impl<T> Bounded for AngularChannel<T> where
    T: Angle
[src]

impl<T> ChannelCast for AngularChannel<T> where
    T: Angle + Default + Sub<T, Output = T> + Add<T, Output = T>, 
[src]

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

impl<T> ColorChannel for AngularChannel<T> where
    T: Angle + Default + Add<T, Output = T> + Sub<T, Output = T>, 
[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::Scalar

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

type Tag = AngularChannelTag

A unique identifying tag type used in generic contexts

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

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

impl<T> Default for AngularChannel<T> where
    T: Angle + Zero
[src]

impl<T> Display for AngularChannel<T> where
    T: Angle + Display
[src]

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

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

impl<T> Invert for AngularChannel<T> where
    T: Angle
[src]

impl<T> Lerp for AngularChannel<T> where
    T: Angle + Lerp
[src]

type Position = T::Position

The type of the pos argument

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

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

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

impl<T> RelativeEq<AngularChannel<T>> for AngularChannel<T> where
    T: Angle + RelativeEq,
    T::Epsilon: Float
[src]

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

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

impl<T> UlpsEq<AngularChannel<T>> for AngularChannel<T> where
    T: Angle + UlpsEq,
    T::Epsilon: Float
[src]

Auto Trait Implementations

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

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

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

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

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