Struct rin::math::Rad[][src]

pub struct Rad<N>(pub N);

Trait Implementations

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

type Output = Rad<N>

The resulting type after applying the + operator.

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

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

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

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

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

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

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

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

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

type Output = Rad<N>

The resulting type after applying the / operator.

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

type Output = Rad<N>

The resulting type after applying the / operator.

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

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

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

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

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

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

impl IntoUniformValueRef for Rad<f32>[src]

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

type Output = Rad<N>

The resulting type after applying the * operator.

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

type Output = Rad<N>

The resulting type after applying the * operator.

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

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

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

type Output = Rad<N>

The resulting type after applying the - operator.

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

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

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

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

impl<T> Std140 for Rad<T> where
    T: Std140
[src]

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

type Output = Rad<N>

The resulting type after applying the - operator.

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

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

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

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

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

Returns the additive identity.

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

impl<N> Eq for Rad<N> where
    N: Eq + PartialEq<N> + Num + Clone + NumCast
[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> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoPnt<Point<T, U2>> for T where
    T: Scalar
[src]

impl<T> IntoPnt<Point<T, U3>> for T where
    T: Scalar
[src]

impl<T> IntoPnt<Point<T, U4>> for T where
    T: Scalar
[src]

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> JoinPnt<T, Point<T, U2>> for T where
    T: Scalar
[src]

type Output = Point<T, U3>

impl<T> JoinPnt<T, Point<T, U3>> for T where
    T: Scalar
[src]

type Output = Point<T, U4>

impl<T> JoinPnt<T, T> for T where
    T: Scalar
[src]

type Output = Point<T, U2>

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Debug + Any
[src]

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WriteStd140 for T where
    T: Std140
[src]

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

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

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

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

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

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

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

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

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

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

impl<T> CollisionObjectHandle for T where
    T: 'static + Copy + Hash + PartialEq<T> + Eq + Send + Sync
[src]

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

impl<M> Measure for M where
    M: Debug + PartialOrd<M> + Add<M, Output = M> + Default + Clone
[src]

impl<N> NodeTrait for N where
    N: Copy + Ord + Hash
[src]

impl<T> Slottable for T where
    T: Copy
[src]