pub enum ScrollDecelerationRate {
Normal,
Fast,
}Expand description
The rate at which scroll momentum will be decelerated.
Variants§
Normal
Standard deceleration, aligned with mobile software expectations.
Fast
Increased deceleration, aligned with desktop software expectations.
Appropriate for use with input devices more precise than touch screens, such as trackpads or mouse wheels.
Trait Implementations§
Source§impl Clone for ScrollDecelerationRate
impl Clone for ScrollDecelerationRate
impl Copy for ScrollDecelerationRate
Source§impl Debug for ScrollDecelerationRate
impl Debug for ScrollDecelerationRate
impl Eq for ScrollDecelerationRate
Source§impl Hash for ScrollDecelerationRate
impl Hash for ScrollDecelerationRate
Source§impl PartialEq for ScrollDecelerationRate
impl PartialEq for ScrollDecelerationRate
impl StructuralPartialEq for ScrollDecelerationRate
Auto Trait Implementations§
impl Forget for ScrollDecelerationRate
impl Freeze for ScrollDecelerationRate
impl Move for ScrollDecelerationRate
impl RefUnwindSafe for ScrollDecelerationRate
impl Send for ScrollDecelerationRate
impl Sync for ScrollDecelerationRate
impl Unpin for ScrollDecelerationRate
impl UnsafeUnpin for ScrollDecelerationRate
impl UnwindSafe for ScrollDecelerationRate
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.