[][src]Struct cgmath::Decomposed

pub struct Decomposed<V: VectorSpace, R> {
    pub scale: V::Scalar,
    pub rot: R,
    pub disp: V,
}

A generic transformation consisting of a rotation, displacement vector and scale amount.

Fields

scale: V::Scalarrot: Rdisp: V

Trait Implementations

impl<P: EuclideanSpace, R: Rotation<P>> Transform<P> for Decomposed<P::Diff, R> where
    P::Scalar: BaseFloat,
    P::Diff: VectorSpace
[src]

impl<S: BaseFloat, R: Rotation2<S>> Transform2<S> for Decomposed<Vector2<S>, R>[src]

impl<S: BaseFloat, R: Rotation3<S>> Transform3<S> for Decomposed<Vector3<S>, R>[src]

impl<V: Clone + VectorSpace, R: Clone> Clone for Decomposed<V, R> where
    V::Scalar: Clone
[src]

impl<V: PartialEq + VectorSpace, R: PartialEq> PartialEq<Decomposed<V, R>> for Decomposed<V, R> where
    V::Scalar: PartialEq
[src]

impl<S: BaseFloat, R: Rotation2<S>> From<Decomposed<Vector2<S>, R>> for Matrix3<S>[src]

impl<S: BaseFloat, R: Rotation3<S>> From<Decomposed<Vector3<S>, R>> for Matrix4<S>[src]

impl<V: Copy + VectorSpace, R: Copy> Copy for Decomposed<V, R> where
    V::Scalar: Copy
[src]

impl<V: Debug + VectorSpace, R: Debug> Debug for Decomposed<V, R> where
    V::Scalar: Debug
[src]

impl<S: VectorSpace, R, E: BaseFloat> AbsDiffEq<Decomposed<S, R>> for Decomposed<S, R> where
    S: AbsDiffEq<Epsilon = E>,
    S::Scalar: AbsDiffEq<Epsilon = E>,
    R: AbsDiffEq<Epsilon = E>, 
[src]

type Epsilon = E

Used for specifying relative comparisons.

impl<S: VectorSpace, R, E: BaseFloat> RelativeEq<Decomposed<S, R>> for Decomposed<S, R> where
    S: RelativeEq<Epsilon = E>,
    S::Scalar: RelativeEq<Epsilon = E>,
    R: RelativeEq<Epsilon = E>, 
[src]

impl<S: VectorSpace, R, E: BaseFloat> UlpsEq<Decomposed<S, R>> for Decomposed<S, R> where
    S: UlpsEq<Epsilon = E>,
    S::Scalar: UlpsEq<Epsilon = E>,
    R: UlpsEq<Epsilon = E>, 
[src]

Auto Trait Implementations

impl<V, R> Send for Decomposed<V, R> where
    R: Send,
    V: Send,
    <V as VectorSpace>::Scalar: Send

impl<V, R> Unpin for Decomposed<V, R> where
    R: Unpin,
    V: Unpin,
    <V as VectorSpace>::Scalar: Unpin

impl<V, R> Sync for Decomposed<V, R> where
    R: Sync,
    V: Sync,
    <V as VectorSpace>::Scalar: Sync

impl<V, R> UnwindSafe for Decomposed<V, R> where
    R: UnwindSafe,
    V: UnwindSafe,
    <V as VectorSpace>::Scalar: UnwindSafe

impl<V, R> RefUnwindSafe for Decomposed<V, R> where
    R: RefUnwindSafe,
    V: RefUnwindSafe,
    <V as VectorSpace>::Scalar: RefUnwindSafe

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]