Struct style::properties::animated_properties::MatrixDecomposed3D
[−]
[src]
pub struct MatrixDecomposed3D {
pub translate: Translate3D,
pub scale: Scale3D,
pub skew: Skew,
pub perspective: Perspective,
pub quaternion: Quaternion,
}A decomposed 3d matrix.
Fields
translate: Translate3D
A translation function.
scale: Scale3D
A scale function.
skew: Skew
The skew component of the transformation.
perspective: Perspective
The perspective component of the transformation.
quaternion: Quaternion
The quaternion used to represent the rotation.
Trait Implementations
impl Clone for MatrixDecomposed3D[src]
fn clone(&self) -> MatrixDecomposed3D[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl ComputeSquaredDistance for MatrixDecomposed3D[src]
fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>[src]
Computes the squared distance between two animatable values.
impl Copy for MatrixDecomposed3D[src]
impl Debug for MatrixDecomposed3D[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for MatrixDecomposed3D[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more
impl Animate for MatrixDecomposed3D[src]
impl From<MatrixDecomposed3D> for Matrix3D[src]
fn from(decomposed: MatrixDecomposed3D) -> Matrix3D[src]
Recompose a 3D matrix. https://drafts.csswg.org/css-transforms/#recomposing-to-a-3d-matrix