Trait RotateOrtho

Source
pub trait RotateOrtho<T> {
    // Required method
    fn rotate_ortho(&self, a: Angle) -> Self;
}
Expand description

Rotate by a integer multiple of 90 degrees.

Required Methods§

Source

fn rotate_ortho(&self, a: Angle) -> Self

Rotate the geometrical shape by a multiple of 90 degrees.

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<S, T> RotateOrtho<T> for S
where T: Copy + Zero + Sub<Output = T>, S: MapPointwise<T>,