Flip

Trait Flip 

Source
pub trait Flip {
    // Required method
    fn flip(&self) -> Self;
}
Expand description

Trait for directions capable of being flipped.

Required Methods§

Source

fn flip(&self) -> Self

Return the flipped representation of the value.

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§