#[non_exhaustive]pub enum OverscrollBehavior {
Auto,
Contain,
None,
Raw(Raw),
}Expand description
A value of overscroll-behavior.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for OverscrollBehavior
impl Clone for OverscrollBehavior
Source§fn clone(&self) -> OverscrollBehavior
fn clone(&self) -> OverscrollBehavior
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OverscrollBehavior
impl Debug for OverscrollBehavior
Source§impl Display for OverscrollBehavior
impl Display for OverscrollBehavior
Source§impl From<Raw> for OverscrollBehavior
impl From<Raw> for OverscrollBehavior
Source§impl PartialEq for OverscrollBehavior
impl PartialEq for OverscrollBehavior
impl StructuralPartialEq for OverscrollBehavior
Auto Trait Implementations§
impl Freeze for OverscrollBehavior
impl RefUnwindSafe for OverscrollBehavior
impl Send for OverscrollBehavior
impl Sync for OverscrollBehavior
impl Unpin for OverscrollBehavior
impl UnsafeUnpin for OverscrollBehavior
impl UnwindSafe for OverscrollBehavior
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