pub enum ScrollSource {
Wheel,
Finger,
Continuous,
WheelTilt,
}Expand description
Where scrolling came from, as wl_pointer.axis_source says.
Variants§
Wheel
A mouse wheel, which turns in notches. The default.
Finger
Fingers on a touchpad, which scroll by pixels. When they lift, the
last event has stop set: the moment a kinetic scroll takes over.
Continuous
Something else that scrolls by pixels, such as a trackpoint.
WheelTilt
A wheel tilted sideways, in notches.
Trait Implementations§
Source§impl Clone for ScrollSource
impl Clone for ScrollSource
impl Copy for ScrollSource
Source§impl Debug for ScrollSource
impl Debug for ScrollSource
Source§impl Default for ScrollSource
impl Default for ScrollSource
impl Eq for ScrollSource
Source§impl PartialEq for ScrollSource
impl PartialEq for ScrollSource
impl StructuralPartialEq for ScrollSource
Auto Trait Implementations§
impl Forget for ScrollSource
impl Freeze for ScrollSource
impl Move for ScrollSource
impl RefUnwindSafe for ScrollSource
impl Send for ScrollSource
impl Sync for ScrollSource
impl Unpin for ScrollSource
impl UnsafeUnpin for ScrollSource
impl UnwindSafe for ScrollSource
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