Trait RotationZ

Source
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§

Source

fn rotate_z(&mut self, angle: AngleOf<T>) -> &mut Self

Provided Methods§

Source

fn rot_z(&mut self, angle: AngleOf<T>) -> &mut Self

Source

fn rotated_z(self, angle: AngleOf<T>) -> Self
where 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.

Implementors§

Source§

impl<T, const N: usize> RotationZ<T> for SquareMatrix<T, N>
where Self: HaveY<Vector<T, N>> + Zero + Mul<Self, Output = Self>, T: FloatingNumber,