Struct style::properties::animated_properties::MatrixDecomposed2D
[−]
[src]
pub struct MatrixDecomposed2D {
pub translate: Translate2D,
pub scale: Scale2D,
pub angle: f32,
pub matrix: InnerMatrix2D,
}A decomposed 2d matrix.
Fields
translate: Translate2D
The translation function.
scale: Scale2D
The scale function.
angle: f32
The rotation angle.
matrix: InnerMatrix2D
The inner matrix.
Trait Implementations
impl Clone for MatrixDecomposed2D[src]
fn clone(&self) -> MatrixDecomposed2D[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 Copy for MatrixDecomposed2D[src]
impl Debug for MatrixDecomposed2D[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for MatrixDecomposed2D[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 MatrixDecomposed2D[src]
impl ComputeSquaredDistance for MatrixDecomposed2D[src]
fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>[src]
Computes the squared distance between two animatable values.
impl From<Matrix3D> for MatrixDecomposed2D[src]
fn from(matrix: Matrix3D) -> MatrixDecomposed2D[src]
Decompose a 2D matrix. https://drafts.csswg.org/css-transforms/#decomposing-a-2d-matrix
impl From<MatrixDecomposed2D> for Matrix3D[src]
fn from(decomposed: MatrixDecomposed2D) -> Matrix3D[src]
Recompose a 2D matrix. https://drafts.csswg.org/css-transforms/#recomposing-to-a-2d-matrix