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
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ScrollMethod
[src]
fn eq(&self, __arg_0: &ScrollMethod) -> bool
[src]
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[src]
This method tests for !=
.