Enum input::ScrollMethod
[−]
[src]
pub enum ScrollMethod { NoScroll, TwoFinger, Edge, OnButtonDown, }
The scroll method of a device selects when to generate scroll axis events instead of pointer motion events.
Variants
NoScroll
Never send scroll events instead of pointer motion events.
This has no effect on events generated by scroll wheels.
TwoFinger
Send scroll events when two fingers are logically down on the device.
Edge
Send scroll events when a finger moves along the bottom or right edge of a device.
OnButtonDown
Send scroll events when a button is down and the device moves along a scroll-capable axis.
Trait Implementations
impl Debug for ScrollMethod
[src]
impl Copy for ScrollMethod
[src]
impl Clone for ScrollMethod
[src]
fn clone(&self) -> ScrollMethod
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 ScrollMethod
[src]
fn eq(&self, __arg_0: &ScrollMethod) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for ScrollMethod
[src]
impl Hash for ScrollMethod
[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: Hasher
1.3.0
Feeds a slice of this type into the state provided.