Enum wayland_client::protocol::wl_pointer::AxisSource [] [src]

#[repr(u32)]
pub enum AxisSource { Wheel, Finger, Continuous, }

axis source types

Describes the source types for axis events. This indicates to the client how an axis event was physically generated; a client may adjust the user interface accordingly. For example, scroll events from a "finger" source may be in a smooth coordinate space with kinetic scrolling whereas a "wheel" source may be in discrete steps of a number of lines.

The "continuous" axis source is a device generating events in a continuous coordinate space, but using something other than a finger. One example for this source is button-based scrolling where the vertical motion of a device is converted to scroll events while a button is held down.

Variants

a physical wheel

finger on a touch surface

continuous coordinate space

Methods

impl AxisSource
[src]

Trait Implementations

impl Copy for AxisSource
[src]

impl Clone for AxisSource
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AxisSource
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for AxisSource
[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 !=.