[][src]Struct ezcgmath::Degrees

pub struct Degrees(pub Scalar);

An angle in Degrees. Can be converted from Radians easily with Degrees::from(radians)

Trait Implementations

impl AbsDiffEq<Degrees> for Degrees[src]

type Epsilon = Scalar

Used for specifying relative comparisons.

impl Clone for Degrees[src]

impl Copy for Degrees[src]

impl Debug for Degrees[src]

impl From<Degrees> for Radians[src]

impl From<Radians> for Degrees[src]

impl From<f32> for Degrees[src]

impl PartialEq<Degrees> for Degrees[src]

impl RelativeEq<Degrees> for Degrees[src]

impl StructuralPartialEq for Degrees[src]

impl UlpsEq<Degrees> for Degrees[src]

Auto Trait Implementations

impl RefUnwindSafe for Degrees

impl Send for Degrees

impl Sync for Degrees

impl Unpin for Degrees

impl UnwindSafe for Degrees

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> 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.