pub trait MatScale<V> {
// Required method
fn from_scale(t: V) -> Self;
}
Expand description
trait for all matrices to cerate a scaling matrix
Required Methods§
Sourcefn from_scale(t: V) -> Self
fn from_scale(t: V) -> Self
create a scale matrix from n-dimensional vector t
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.