Enum input_sys::libinput_pointer_axis [] [src]

#[repr(u32)]
pub enum libinput_pointer_axis { LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL, LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL, }

@ingroup device

Axes on a device with the capability @ref LIBINPUT_DEVICE_CAP_POINTER that are not x or y coordinates.

The two scroll axes @ref LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL and @ref LIBINPUT_POINTER_AXIS_SCROLL_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 Debug for libinput_pointer_axis
[src]

Formats the value using the given formatter.

impl Copy for libinput_pointer_axis
[src]

impl Clone for libinput_pointer_axis
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for libinput_pointer_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 libinput_pointer_axis
[src]

impl Hash for libinput_pointer_axis
[src]

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

Feeds a slice of this type into the state provided.