Struct dotrix_math::Rad[][src]

#[repr(C)]pub struct Rad<S>(pub S);

An angle, in radians.

This type is marked as #[repr(C)].

Trait Implementations

impl<S> AbsDiffEq<Rad<S>> for Rad<S> where
    S: BaseFloat
[src]

type Epsilon = <S as AbsDiffEq<S>>::Epsilon

Used for specifying relative comparisons.

impl<'a, S> Add<&'a Rad<S>> for Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the + operator.

impl<'a, 'b, S> Add<&'a Rad<S>> for &'b Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the + operator.

impl<'a, S> Add<Rad<S>> for &'a Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the + operator.

impl<S> Add<Rad<S>> for Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the + operator.

impl<S> AddAssign<Rad<S>> for Rad<S> where
    S: BaseFloat + AddAssign<S>, 
[src]

impl<S> Angle for Rad<S> where
    S: BaseFloat
[src]

type Unitless = S

impl<S> Bounded for Rad<S> where
    S: Bounded
[src]

impl<S> Clone for Rad<S> where
    S: Clone
[src]

impl<S> Copy for Rad<S> where
    S: Copy
[src]

impl<S> Debug for Rad<S> where
    S: Debug
[src]

impl<'a, S> Div<&'a Rad<S>> for Rad<S> where
    S: BaseFloat
[src]

type Output = S

The resulting type after applying the / operator.

impl<'a, 'b, S> Div<&'a Rad<S>> for &'b Rad<S> where
    S: BaseFloat
[src]

type Output = S

The resulting type after applying the / operator.

impl<S> Div<Rad<S>> for Rad<S> where
    S: BaseFloat
[src]

type Output = S

The resulting type after applying the / operator.

impl<'a, S> Div<Rad<S>> for &'a Rad<S> where
    S: BaseFloat
[src]

type Output = S

The resulting type after applying the / operator.

impl<S> Div<S> for Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the / operator.

impl<'a, S> Div<S> for &'a Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the / operator.

impl<S> DivAssign<S> for Rad<S> where
    S: BaseFloat + DivAssign<S>, 
[src]

impl<S> From<Deg<S>> for Rad<S> where
    S: BaseFloat
[src]

impl<S> From<Rad<S>> for Deg<S> where
    S: BaseFloat
[src]

impl<'a, S> Mul<S> for &'a Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the * operator.

impl<S> Mul<S> for Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the * operator.

impl<S> MulAssign<S> for Rad<S> where
    S: BaseFloat + MulAssign<S>, 
[src]

impl<S> Neg for Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the - operator.

impl<'a, S> Neg for &'a Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the - operator.

impl<S> PartialEq<Rad<S>> for Rad<S> where
    S: PartialEq<S>, 
[src]

impl<S> PartialOrd<Rad<S>> for Rad<S> where
    S: PartialOrd<S>, 
[src]

impl<S> RelativeEq<Rad<S>> for Rad<S> where
    S: BaseFloat
[src]

impl<'a, 'b, S> Rem<&'a Rad<S>> for &'b Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the % operator.

impl<'a, S> Rem<&'a Rad<S>> for Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the % operator.

impl<S> Rem<Rad<S>> for Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the % operator.

impl<'a, S> Rem<Rad<S>> for &'a Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the % operator.

impl<S> RemAssign<Rad<S>> for Rad<S> where
    S: BaseFloat + RemAssign<S>, 
[src]

impl<S> StructuralPartialEq for Rad<S>[src]

impl<'a, 'b, S> Sub<&'a Rad<S>> for &'b Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the - operator.

impl<'a, S> Sub<&'a Rad<S>> for Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the - operator.

impl<S> Sub<Rad<S>> for Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the - operator.

impl<'a, S> Sub<Rad<S>> for &'a Rad<S> where
    S: BaseFloat
[src]

type Output = Rad<S>

The resulting type after applying the - operator.

impl<S> SubAssign<Rad<S>> for Rad<S> where
    S: BaseFloat + SubAssign<S>, 
[src]

impl<'a, S> Sum<&'a Rad<S>> for Rad<S> where
    S: 'a + BaseFloat
[src]

impl<S> Sum<Rad<S>> for Rad<S> where
    S: BaseFloat
[src]

impl<S> UlpsEq<Rad<S>> for Rad<S> where
    S: BaseFloat
[src]

impl<S> Zero for Rad<S> where
    S: BaseFloat
[src]

Auto Trait Implementations

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

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

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

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

impl<S> UnwindSafe for Rad<S> where
    S: 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, Rhs> NumAssignOps<Rhs> for T where
    T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.