Enum input::event::pointer::AxisSource
[−]
[src]
pub enum AxisSource {
Wheel,
Finger,
Continuous,
WheelTilt,
}The source for a PointerAxisEvent.
Variants
WheelThe event is caused by the rotation of a wheel.
FingerThe event is caused by the movement of one or more fingers on a device.
ContinuousThe event is caused by the motion of some device.
WheelTiltThe event is caused by the tilting of a mouse wheel rather than its rotation.
This method is commonly used on mice without separate horizontal scroll wheels.
Trait Implementations
impl Debug for AxisSource[src]
impl Clone for AxisSource[src]
fn clone(&self) -> AxisSource
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 Copy for AxisSource[src]
impl PartialEq for AxisSource[src]
fn eq(&self, __arg_0: &AxisSource) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for AxisSource[src]
impl Hash for AxisSource[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: Hasher1.3.0
Feeds a slice of this type into the state provided.