pub trait AxisExt {
// Required methods
fn is_horizontal(self) -> bool;
fn is_vertical(self) -> bool;
}Expand description
A trait to extend the Axis enum with utility methods.
Required Methods§
fn is_horizontal(self) -> bool
fn is_vertical(self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".