Struct angle::Rad[][src]

pub struct Rad<N>(pub N);

Trait Implementations

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

type Output = Rad<N>

The resulting type after applying the + operator.

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

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

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

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

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

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

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

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

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

type Output = Rad<N>

The resulting type after applying the / operator.

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

type Output = Rad<N>

The resulting type after applying the / operator.

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

impl<N: DivAssign<N>> DivAssign<Rad<N>> for Rad<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 Rad<N>[src]

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

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

type Output = Rad<N>

The resulting type after applying the * operator.

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

type Output = Rad<N>

The resulting type after applying the * operator.

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

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

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

type Output = Rad<N>

The resulting type after applying the - operator.

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

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

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

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

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

type Output = Rad<N>

The resulting type after applying the - operator.

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

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

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

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

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

Returns the additive identity.

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

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

Auto Trait Implementations

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

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

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

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

impl<N> UnwindSafe for Rad<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]