Trait Rotate

Source
pub trait Rotate {
    // Required method
    fn rotate(self, n: isize) -> Self;
}

Required Methods§

Source

fn rotate(self, n: isize) -> Self

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> Rotate for Polygon<T>

Source§

impl<T> Rotate for Edge<T>

Source§

impl<T> Rotate for Quad<T>

Source§

impl<T> Rotate for Triangle<T>