[−][src]Struct cgmath::Decomposed
A generic transformation consisting of a rotation, displacement vector and scale amount.
Fields
scale: V::Scalar
rot: R
disp: V
Trait Implementations
impl<P: EuclideanSpace, R: Rotation<P>> Transform<P> for Decomposed<P::Diff, R> where
P::Scalar: BaseFloat,
P::Diff: VectorSpace,
[src]
P::Scalar: BaseFloat,
P::Diff: VectorSpace,
fn one() -> Decomposed<P::Diff, R>
[src]
fn look_at(eye: P, center: P, up: P::Diff) -> Decomposed<P::Diff, R>
[src]
fn transform_vector(&self, vec: P::Diff) -> P::Diff
[src]
fn inverse_transform_vector(&self, vec: P::Diff) -> Option<P::Diff>
[src]
fn transform_point(&self, point: P) -> P
[src]
fn concat(&self, other: &Decomposed<P::Diff, R>) -> Decomposed<P::Diff, R>
[src]
fn inverse_transform(&self) -> Option<Decomposed<P::Diff, R>>
[src]
fn concat_self(&mut self, other: &Self)
[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]
V::Scalar: Clone,
fn clone(&self) -> Decomposed<V, R>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<V: PartialEq + VectorSpace, R: PartialEq> PartialEq<Decomposed<V, R>> for Decomposed<V, R> where
V::Scalar: PartialEq,
[src]
V::Scalar: PartialEq,
fn eq(&self, other: &Decomposed<V, R>) -> bool
[src]
fn ne(&self, other: &Decomposed<V, R>) -> bool
[src]
impl<S: BaseFloat, R: Rotation2<S>> From<Decomposed<Vector2<S>, R>> for Matrix3<S>
[src]
fn from(dec: Decomposed<Vector2<S>, R>) -> Matrix3<S>
[src]
impl<S: BaseFloat, R: Rotation3<S>> From<Decomposed<Vector3<S>, R>> for Matrix4<S>
[src]
fn from(dec: Decomposed<Vector3<S>, R>) -> Matrix4<S>
[src]
impl<V: Copy + VectorSpace, R: Copy> Copy for Decomposed<V, R> where
V::Scalar: Copy,
[src]
V::Scalar: Copy,
impl<V: Debug + VectorSpace, R: Debug> Debug for Decomposed<V, R> where
V::Scalar: Debug,
[src]
V::Scalar: Debug,
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]
S: AbsDiffEq<Epsilon = E>,
S::Scalar: AbsDiffEq<Epsilon = E>,
R: AbsDiffEq<Epsilon = E>,
type Epsilon = E
Used for specifying relative comparisons.
fn default_epsilon() -> E
[src]
fn abs_diff_eq(&self, other: &Self, epsilon: E) -> bool
[src]
fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
[src]
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]
S: RelativeEq<Epsilon = E>,
S::Scalar: RelativeEq<Epsilon = E>,
R: RelativeEq<Epsilon = E>,
fn default_max_relative() -> E
[src]
fn relative_eq(&self, other: &Self, epsilon: E, max_relative: E) -> bool
[src]
fn relative_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
[src]
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
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]
S: UlpsEq<Epsilon = E>,
S::Scalar: UlpsEq<Epsilon = E>,
R: UlpsEq<Epsilon = E>,
Auto Trait Implementations
impl<V, R> Send for Decomposed<V, R> where
R: Send,
V: Send,
<V as VectorSpace>::Scalar: Send,
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,
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,
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,
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,
R: RefUnwindSafe,
V: RefUnwindSafe,
<V as VectorSpace>::Scalar: RefUnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,