Struct color::Deg[][src]

pub struct Deg<N>(pub N);

Trait Implementations

impl<N> Add<Deg<N>> for Deg<N> where
    N: Add<N, Output = N>, 
[src]

type Output = Deg<N>

The resulting type after applying the + operator.

impl<N> AddAssign<Deg<N>> for Deg<N> where
    N: AddAssign<N>, 
[src]

impl<N> Angle<N> for Deg<N> where
    N: Num
[src]

impl<N> AngleCast for Deg<N> where
    N: NumCast
[src]

impl<N> Clone for Deg<N> where
    N: Clone
[src]

impl<N> Debug for Deg<N> where
    N: Debug
[src]

impl<N> Default for Deg<N> where
    N: Default
[src]

impl<'de, N> Deserialize<'de> for Deg<N> where
    N: Deserialize<'de>, 
[src]

impl<N> Display for Deg<N> where
    N: Display
[src]

impl<N> Div<Deg<N>> for Deg<N> where
    N: Div<N, Output = N>, 
[src]

type Output = Deg<N>

The resulting type after applying the / operator.

impl<N> Div<N> for Deg<N> where
    N: Div<N, Output = N>, 
[src]

type Output = Deg<N>

The resulting type after applying the / operator.

impl<N> DivAssign<Deg<N>> for Deg<N> where
    N: DivAssign<N>, 
[src]

impl<N> DivAssign<N> for Deg<N> where
    N: DivAssign<N>, 
[src]

impl<N1, N2> From<Rad<N2>> for Deg<N1> where
    N1: From<N2>,
    N2: Num + Clone + NumCast
[src]

impl<N> FromPrimitive for Deg<N> where
    N: FromPrimitive
[src]

impl<N> Hash for Deg<N> where
    N: Hash
[src]

impl<N> Mul<Deg<N>> for Deg<N> where
    N: Mul<N, Output = N>, 
[src]

type Output = Deg<N>

The resulting type after applying the * operator.

impl<N> Mul<N> for Deg<N> where
    N: Mul<N, Output = N>, 
[src]

type Output = Deg<N>

The resulting type after applying the * operator.

impl<N> MulAssign<Deg<N>> for Deg<N> where
    N: MulAssign<N>, 
[src]

impl<N> MulAssign<N> for Deg<N> where
    N: MulAssign<N>, 
[src]

impl<N> Neg for Deg<N> where
    N: Neg<Output = N>, 
[src]

type Output = Deg<N>

The resulting type after applying the - operator.

impl<N> Ord for Deg<N> where
    N: Ord + PartialEq<N> + Num + Clone + NumCast
[src]

impl<N> PartialEq<Deg<N>> for Deg<N> where
    N: PartialEq<N> + Num + Clone + NumCast
[src]

impl<N> PartialOrd<Deg<N>> for Deg<N> where
    N: PartialOrd<N> + Num + Clone + NumCast
[src]

impl<N> Serialize for Deg<N> where
    N: Serialize
[src]

impl<N> Sub<Deg<N>> for Deg<N> where
    N: Sub<N, Output = N>, 
[src]

type Output = Deg<N>

The resulting type after applying the - operator.

impl<N> SubAssign<Deg<N>> for Deg<N> where
    N: SubAssign<N>, 
[src]

impl<T, S> SubsetOf<Deg<T>> for Deg<S> where
    T: Copy,
    S: SubsetOf<T>, 
[src]

impl<N> ToPrimitive for Deg<N> where
    N: ToPrimitive
[src]

impl<N> Zero for Deg<N> where
    N: Num + Zero + NumCast + Clone
[src]

pub fn zero() -> Deg<N>[src]

Returns the additive identity.

impl<N> Copy for Deg<N> where
    N: Copy
[src]

impl<N> Eq for Deg<N> where
    N: Eq + PartialEq<N> + Num + Clone + NumCast
[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for Deg<N> where
    N: RefUnwindSafe

impl<N> Send for Deg<N> where
    N: Send

impl<N> Sync for Deg<N> where
    N: Sync

impl<N> Unpin for Deg<N> where
    N: Unpin

impl<N> UnwindSafe for Deg<N> where
    N: 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<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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.

impl<T, Right> ClosedAdd<Right> for T where
    T: Add<Right, Output = T> + AddAssign<Right>, 

impl<T, Right> ClosedDiv<Right> for T where
    T: Div<Right, Output = T> + DivAssign<Right>, 

impl<T, Right> ClosedMul<Right> for T where
    T: Mul<Right, Output = T> + MulAssign<Right>, 

impl<T> ClosedNeg for T where
    T: Neg<Output = T>, 

impl<T, Right> ClosedSub<Right> for T where
    T: Sub<Right, Output = T> + SubAssign<Right>, 

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]