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.
pub trait AxisExt {
// Required methods
fn is_horizontal(self) -> bool;
fn is_vertical(self) -> bool;
}A trait to extend the Axis enum with utility methods.