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

Never send scroll events instead of pointer motion events.

This has no effect on events generated by scroll wheels.

Send scroll events when two fingers are logically down on the device.

Send scroll events when a finger moves along the bottom or right edge of a device.

Send scroll events when a button is down and the device moves along a scroll-capable axis.

Trait Implementations

impl Debug for ScrollMethod
[src]

[src]

Formats the value using the given formatter.

impl Copy for ScrollMethod
[src]

impl Clone for ScrollMethod
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ScrollMethod
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for ScrollMethod
[src]

impl Hash for ScrollMethod
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more