Struct angle::Deg[][src]

pub struct Deg<N>(pub N);

Trait Implementations

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

type Output = Deg<N>

The resulting type after applying the + operator.

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

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

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

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

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

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

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

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

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

type Output = Deg<N>

The resulting type after applying the / operator.

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

type Output = Deg<N>

The resulting type after applying the / operator.

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

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

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

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

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

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

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

type Output = Deg<N>

The resulting type after applying the * operator.

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

type Output = Deg<N>

The resulting type after applying the * operator.

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

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

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

type Output = Deg<N>

The resulting type after applying the - operator.

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

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

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

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

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

type Output = Deg<N>

The resulting type after applying the - operator.

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

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

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

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

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

Returns the additive identity.

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

impl<N: Eq + PartialEq + Num + Clone + NumCast> Eq for Deg<N>[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]