pub enum OverscrollIndicator {
Glow,
Stretch,
}Expand description
What a scroll area shows when it is pulled past its edge and its physics refuse to move (milestone 591).
Current touch platforms stretch the content towards the edge and spring it back;
others glow, an arc of light over the edge. The
ScrollBehavior in force picks one per platform, or none.
Variants§
Glow
An arc of light over the edge, fading as the pull lets go.
Stretch
The content lengthens towards the edge, and springs back.
Trait Implementations§
Source§impl Clone for OverscrollIndicator
impl Clone for OverscrollIndicator
impl Copy for OverscrollIndicator
Source§impl Debug for OverscrollIndicator
impl Debug for OverscrollIndicator
impl Eq for OverscrollIndicator
Source§impl PartialEq for OverscrollIndicator
impl PartialEq for OverscrollIndicator
impl StructuralPartialEq for OverscrollIndicator
Auto Trait Implementations§
impl Freeze for OverscrollIndicator
impl RefUnwindSafe for OverscrollIndicator
impl Send for OverscrollIndicator
impl Sync for OverscrollIndicator
impl Unpin for OverscrollIndicator
impl UnsafeUnpin for OverscrollIndicator
impl UnwindSafe for OverscrollIndicator
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