pub trait Mirror<T> {
// Required methods
fn mirror_x(&self) -> Self;
fn mirror_y(&self) -> Self;
}
Expand description
Mirror at the x or y axis.
Required Methods§
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.