pub enum Axis {
Vertical,
Horizontal,
}
Expand description
Axes on a device with the pointer capability that are not x or y coordinates.
The two scroll axes Vertical
and Horizontal
are engaged separately,
depending on the device. libinput provides some scroll direction locking but
it is up to the caller to determine which axis is needed and appropriate in
the current interaction
Variants§
Trait Implementations§
impl Copy for Axis
impl Eq for Axis
impl StructuralPartialEq for Axis
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnwindSafe for Axis
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more