[][src]Enum input::ScrollMethod

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 Clone for ScrollMethod[src]

impl Copy for ScrollMethod[src]

impl Debug for ScrollMethod[src]

impl Eq for ScrollMethod[src]

impl Hash for ScrollMethod[src]

impl PartialEq<ScrollMethod> for ScrollMethod[src]

impl StructuralEq for ScrollMethod[src]

impl StructuralPartialEq for ScrollMethod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.