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

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

Fields§

§scale: <V as VectorSpace>::Scalar§rot: R§disp: V

Trait Implementations§

Used for specifying relative comparisons.
The default tolerance to use when testing values that are close together. Read more
A test for equality that uses the absolute difference to compute the approximate equality of two numbers.
The inverse of AbsDiffEq::abs_diff_eq.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Converts to this type from the input type.
Converts to this type from the input type.

Multiplies the two transforms together. The result should be as if the two transforms were converted to matrices, then multiplied, then converted back with a (currently nonexistent) function that tries to convert a matrix into a Decomposed.

The resulting type after applying the * operator.
Returns the multiplicative identity element of Self, 1. Read more
Sets self to the multiplicative identity element of Self, 1.
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
The default relative tolerance for testing values that are far-apart. Read more
A test for equality that uses a relative comparison if the values are far apart.
The inverse of RelativeEq::relative_eq.
Serialize this value into the given Serde serializer. Read more
👎Deprecated: Use look_at_rh or look_at_lh
Create a transformation that rotates a vector to look at center from eye, using up for orientation.
Create a transformation that rotates a vector to look at center from eye, using up for orientation.
Create a transformation that rotates a vector to look at center from eye, using up for orientation.
Transform a vector using this transform.
Inverse transform a vector using this transform
Transform a point using this transform.
Combine this transform with another, yielding a new transformation which has the effects of both.
Create a transform that “un-does” this one.
Combine this transform with another, in-place.
The default ULPs to tolerate when testing values that are far-apart. Read more
A test for equality that uses units in the last place (ULP) if the values are far apart.
The inverse of UlpsEq::ulps_eq.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The “distance” is less than TOLERANCE.
The “distance” is less than TOLERANCR2.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.