pub trait MatRotate2D<T> {
// Required method
fn from_z_rotation(theta: T) -> Self;
}
Expand description
trait for minimum of 2x2 matrices applying rotation in z-axis
Required Methods§
Sourcefn from_z_rotation(theta: T) -> Self
fn from_z_rotation(theta: T) -> Self
create rotation about the z axis by theta
radians
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.