Enum input_sys::libinput_config_scroll_method
[−]
[src]
#[repr(u32)]pub enum libinput_config_scroll_method { LIBINPUT_CONFIG_SCROLL_NO_SCROLL, LIBINPUT_CONFIG_SCROLL_2FG, LIBINPUT_CONFIG_SCROLL_EDGE, LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN, }
@ingroup config
The scroll method of a device selects when to generate scroll axis events instead of pointer motion events.
Variants
LIBINPUT_CONFIG_SCROLL_NO_SCROLLLIBINPUT_CONFIG_SCROLL_2FGLIBINPUT_CONFIG_SCROLL_EDGELIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWNTrait Implementations
impl Debug for libinput_config_scroll_method[src]
impl Copy for libinput_config_scroll_method[src]
impl Clone for libinput_config_scroll_method[src]
fn clone(&self) -> libinput_config_scroll_method
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_config_scroll_method[src]
fn eq(&self, __arg_0: &libinput_config_scroll_method) -> 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_config_scroll_method[src]
impl Hash for libinput_config_scroll_method[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.