pub trait RotationZ<T> {
// Required method
fn rotate_z(&mut self, angle: AngleOf<T>) -> &mut Self;
// Provided methods
fn rot_z(&mut self, angle: AngleOf<T>) -> &mut Self { ... }
fn rotated_z(self, angle: AngleOf<T>) -> Self
where Self: Sized { ... }
}Required Methods§
Provided Methods§
fn rot_z(&mut self, angle: AngleOf<T>) -> &mut Self
fn rotated_z(self, angle: AngleOf<T>) -> Selfwhere
Self: Sized,
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.