[][src]Struct nannou::math::Decomposed

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

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

Fields

scale: <V as VectorSpace>::Scalarrot: Rdisp: V

Trait Implementations

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

type Epsilon = E

Used for specifying relative comparisons.

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

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

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

impl<'a, S, R> Deserialize<'a> for Decomposed<S, R> where
    R: Deserialize<'a>,
    S: VectorSpace + Deserialize<'a>,
    <S as VectorSpace>::Scalar: Deserialize<'a>, 
[src]

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

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

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

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

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

impl<V, R> StructuralPartialEq for Decomposed<V, R> where
    V: VectorSpace
[src]

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

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

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, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

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

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

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

impl<T> SetParameter for T

impl<T> SetParameter for T

impl<T> Style for T where
    T: Any + Debug + PartialEq<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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,