pub enum OverscrollEffect {
Translate,
Stretch,
None,
}Expand description
How overscroll displacement/pull is VISUALIZED — orthogonal to physics.
Variants§
Translate
Translate the content by the overscroll displacement (today’s behavior).
Stretch
M3E stretch: paint-side affine scale about the pulled edge; content origin stays fixed. Intensity reads the widget’s edge_pull.
None
No visual at all.
Trait Implementations§
Source§impl Clone for OverscrollEffect
impl Clone for OverscrollEffect
impl Copy for OverscrollEffect
Source§impl Debug for OverscrollEffect
impl Debug for OverscrollEffect
Source§impl Default for OverscrollEffect
impl Default for OverscrollEffect
impl Eq for OverscrollEffect
Source§impl PartialEq for OverscrollEffect
impl PartialEq for OverscrollEffect
impl StructuralPartialEq for OverscrollEffect
Auto Trait Implementations§
impl Freeze for OverscrollEffect
impl RefUnwindSafe for OverscrollEffect
impl Send for OverscrollEffect
impl Sync for OverscrollEffect
impl Unpin for OverscrollEffect
impl UnsafeUnpin for OverscrollEffect
impl UnwindSafe for OverscrollEffect
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
impl<T> Brush for T
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§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.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.