Enum input::event::pointer::Axis [] [src]

pub enum Axis {
    Vertical,
    Horizontal,
}

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

Vertical axis

Horizontal axis

Trait Implementations

impl Debug for Axis
[src]

Formats the value using the given formatter.

impl Clone for Axis
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Axis
[src]

impl PartialEq for Axis
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Axis
[src]

impl Hash for Axis
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.