pub trait IsMatrix4Transformable {
// Required methods
fn transformed(&self, m: &Matrix4) -> Self;
fn transform(&mut self, m: &Matrix4);
}Expand description
IsMatrix4Transformable trait used for types that can be transformed by a 4x4 Matrix
Required Methods§
Sourcefn transformed(&self, m: &Matrix4) -> Self
fn transformed(&self, m: &Matrix4) -> Self
Should return self transformed by the Matrix
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".