pub enum OverscrollBehaviorYStyleValue {
Contain(Ident),
None(Ident),
Auto(Ident),
}Expand description
Represents the style value for overscroll-behavior-y as defined in css-overscroll-1.
The overscroll-behavior CSS property disables default scrolling behaviors when the edges of a scrolling area are reached.
The grammar is defined as:
contain | none | autoVariants§
Trait Implementations§
Source§impl Clone for OverscrollBehaviorYStyleValue
impl Clone for OverscrollBehaviorYStyleValue
Source§fn clone(&self) -> OverscrollBehaviorYStyleValue
fn clone(&self) -> OverscrollBehaviorYStyleValue
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 Hash for OverscrollBehaviorYStyleValue
impl Hash for OverscrollBehaviorYStyleValue
Source§impl Ord for OverscrollBehaviorYStyleValue
impl Ord for OverscrollBehaviorYStyleValue
Source§fn cmp(&self, other: &OverscrollBehaviorYStyleValue) -> Ordering
fn cmp(&self, other: &OverscrollBehaviorYStyleValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for OverscrollBehaviorYStyleValue
impl<'a> Parse<'a> for OverscrollBehaviorYStyleValue
Source§impl PartialEq for OverscrollBehaviorYStyleValue
impl PartialEq for OverscrollBehaviorYStyleValue
Source§fn eq(&self, other: &OverscrollBehaviorYStyleValue) -> bool
fn eq(&self, other: &OverscrollBehaviorYStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OverscrollBehaviorYStyleValue
impl PartialOrd for OverscrollBehaviorYStyleValue
Source§impl<'a> Peek<'a> for OverscrollBehaviorYStyleValue
impl<'a> Peek<'a> for OverscrollBehaviorYStyleValue
Source§impl ToCursors for OverscrollBehaviorYStyleValue
impl ToCursors for OverscrollBehaviorYStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for OverscrollBehaviorYStyleValue
impl StructuralPartialEq for OverscrollBehaviorYStyleValue
Auto Trait Implementations§
impl Freeze for OverscrollBehaviorYStyleValue
impl RefUnwindSafe for OverscrollBehaviorYStyleValue
impl Send for OverscrollBehaviorYStyleValue
impl Sync for OverscrollBehaviorYStyleValue
impl Unpin for OverscrollBehaviorYStyleValue
impl UnwindSafe for OverscrollBehaviorYStyleValue
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