pub trait RotationX<T> {
// Required method
fn rotate_x(&mut self, angle: AngleOf<T>) -> &mut Self;
// Provided methods
fn rot_x(&mut self, angle: AngleOf<T>) -> &mut Self { ... }
fn rotated_x(self, angle: AngleOf<T>) -> Self
where Self: Sized { ... }
}Required Methods§
Provided Methods§
fn rot_x(&mut self, angle: AngleOf<T>) -> &mut Self
fn rotated_x(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.