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
LIBINPUT_POINTER_AXIS_SCROLL_VERTICALLIBINPUT_POINTER_AXIS_SCROLL_HORIZONTALTrait Implementations
impl Debug for libinput_pointer_axis[src]
impl Copy for libinput_pointer_axis[src]
impl Clone for libinput_pointer_axis[src]
fn clone(&self) -> libinput_pointer_axis
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for libinput_pointer_axis[src]
fn eq(&self, __arg_0: &libinput_pointer_axis) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for libinput_pointer_axis[src]
impl Hash for libinput_pointer_axis[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.