Type Definition style::values::computed::transform::Matrix3D
[−]
[src]
type Matrix3D = GenericMatrix3D<Number>;
computed value of matrix3d()
Methods
impl Matrix3D
[src]
pub fn identity() -> Self
[src]
Get an identity matrix
pub fn into_2d(self) -> Result<Matrix, ()>
[src]
Convert to a 2D Matrix
Trait Implementations
impl From<Matrix> for Matrix3D
[src]
impl From<Transform3D<CSSFloat>> for Matrix3D
[src]
fn from(m: Transform3D<CSSFloat>) -> Self
[src]
Performs the conversion.
impl Animate for Matrix3D
[src]
fn animate(&self, other: &Self, procedure: Procedure) -> Result<Self, ()>
[src]
Animate a value towards another one, given an animation procedure.
impl ComputeSquaredDistance for Matrix3D
[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
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