Struct rin::math::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<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 Deg<N> where
    N: FromPrimitive
[src]

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

impl IntoUniformValueRef for Deg<f32>[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<T> Std140 for Deg<T> where
    T: Std140
[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> 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]