pub enum AxisSource {
Wheel,
Finger,
Continuous,
WheelTilt,
}
👎Deprecated: Use
PointerEvent::Scroll*
events insteadExpand description
The source for a PointerAxisEvent
.
Variants§
Wheel
👎Deprecated: Use
PointerEvent::Scroll*
events insteadThe event is caused by the rotation of a wheel.
Finger
👎Deprecated: Use
PointerEvent::Scroll*
events insteadThe event is caused by the movement of one or more fingers on a device.
Continuous
👎Deprecated: Use
PointerEvent::Scroll*
events insteadThe event is caused by the motion of some device.
WheelTilt
👎Deprecated: No device has ever sent this source.
The 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§
Source§impl Clone for AxisSource
impl Clone for AxisSource
Source§fn clone(&self) -> AxisSource
fn clone(&self) -> AxisSource
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AxisSource
impl Debug for AxisSource
Source§impl Hash for AxisSource
impl Hash for AxisSource
Source§impl PartialEq for AxisSource
impl PartialEq for AxisSource
impl Copy for AxisSource
impl Eq for AxisSource
impl StructuralPartialEq for AxisSource
Auto Trait Implementations§
impl Freeze for AxisSource
impl RefUnwindSafe for AxisSource
impl Send for AxisSource
impl Sync for AxisSource
impl Unpin for AxisSource
impl UnwindSafe for AxisSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more