pub enum ScrollPhase {
Started,
Moved,
Ended,
MomentumEnded,
}Expand description
Scroll gesture phase (for trackpad/touchpad scrolling)
Variants§
Started
Scroll gesture starting (finger touched trackpad)
Moved
Scroll is in progress
Ended
Scroll gesture ended (finger lifted, momentum may continue)
MomentumEnded
Momentum/inertia scrolling has ended
Trait Implementations§
Source§impl Clone for ScrollPhase
impl Clone for ScrollPhase
Source§fn clone(&self) -> ScrollPhase
fn clone(&self) -> ScrollPhase
Returns a duplicate 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 ScrollPhase
impl Debug for ScrollPhase
Source§impl Default for ScrollPhase
impl Default for ScrollPhase
Source§fn default() -> ScrollPhase
fn default() -> ScrollPhase
Returns the “default value” for a type. Read more
Source§impl PartialEq for ScrollPhase
impl PartialEq for ScrollPhase
impl Copy for ScrollPhase
impl Eq for ScrollPhase
impl StructuralPartialEq for ScrollPhase
Auto Trait Implementations§
impl Freeze for ScrollPhase
impl RefUnwindSafe for ScrollPhase
impl Send for ScrollPhase
impl Sync for ScrollPhase
impl Unpin for ScrollPhase
impl UnwindSafe for ScrollPhase
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