pub enum ScrollInputKind {
DiscreteLines,
SmoothPixels {
phase: ScrollTouchPhase,
timestamp_ms: u64,
},
Instant,
}Expand description
Scroll input modality driving chaining, wheel smoothing, and rubber-band/momentum physics.
Variants§
DiscreteLines
Discrete mouse-wheel detents (deltas already scaled into logical pixels).
SmoothPixels
Continuous trackpad / touch pixel deltas with gesture phase and monotonic millisecond clock.
Instant
Immediate deterministic delta without wheel smoothing or rubber-band animation.
Trait Implementations§
Source§impl Clone for ScrollInputKind
impl Clone for ScrollInputKind
impl Copy for ScrollInputKind
Source§impl Debug for ScrollInputKind
impl Debug for ScrollInputKind
impl Eq for ScrollInputKind
Source§impl PartialEq for ScrollInputKind
impl PartialEq for ScrollInputKind
impl StructuralPartialEq for ScrollInputKind
Auto Trait Implementations§
impl Forget for ScrollInputKind
impl Freeze for ScrollInputKind
impl Move for ScrollInputKind
impl RefUnwindSafe for ScrollInputKind
impl Send for ScrollInputKind
impl Sync for ScrollInputKind
impl Unpin for ScrollInputKind
impl UnsafeUnpin for ScrollInputKind
impl UnwindSafe for ScrollInputKind
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