Trait IsMatrix3Transformable

Source
pub trait IsMatrix3Transformable {
    // Required methods
    fn transformed(&self, m: &Matrix3) -> Self;
    fn transform(&mut self, m: &Matrix3);
}
Expand description

IsMatrix3Transformable trait used for types that can be transformed by a 3x3 Matrix

Required Methods§

Source

fn transformed(&self, m: &Matrix3) -> Self

Should return self transformed by the Matrix

Source

fn transform(&mut self, m: &Matrix3)

Should transform self by the Matrix

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§