pub trait AxisExt {
// Required methods
fn is_horizontal(self) -> bool;
fn is_vertical(self) -> bool;
}Expand description
Extension trait for Axis
Required Methods§
Sourcefn is_horizontal(self) -> bool
fn is_horizontal(self) -> bool
Returns true if the axis is horizontal
Sourcefn is_vertical(self) -> bool
fn is_vertical(self) -> bool
Returns true if the axis is vertical
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".