pub enum OverscrollBehaviorXStyleValue {
Contain(Ident),
None(Ident),
Auto(Ident),
}Expand description
Represents the style value for overscroll-behavior-x 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 OverscrollBehaviorXStyleValue
impl Clone for OverscrollBehaviorXStyleValue
Source§fn clone(&self) -> OverscrollBehaviorXStyleValue
fn clone(&self) -> OverscrollBehaviorXStyleValue
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 OverscrollBehaviorXStyleValue
impl Hash for OverscrollBehaviorXStyleValue
Source§impl Ord for OverscrollBehaviorXStyleValue
impl Ord for OverscrollBehaviorXStyleValue
Source§fn cmp(&self, other: &OverscrollBehaviorXStyleValue) -> Ordering
fn cmp(&self, other: &OverscrollBehaviorXStyleValue) -> 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 OverscrollBehaviorXStyleValue
impl<'a> Parse<'a> for OverscrollBehaviorXStyleValue
Source§impl PartialEq for OverscrollBehaviorXStyleValue
impl PartialEq for OverscrollBehaviorXStyleValue
Source§fn eq(&self, other: &OverscrollBehaviorXStyleValue) -> bool
fn eq(&self, other: &OverscrollBehaviorXStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OverscrollBehaviorXStyleValue
impl PartialOrd for OverscrollBehaviorXStyleValue
Source§impl<'a> Peek<'a> for OverscrollBehaviorXStyleValue
impl<'a> Peek<'a> for OverscrollBehaviorXStyleValue
Source§impl ToCursors for OverscrollBehaviorXStyleValue
impl ToCursors for OverscrollBehaviorXStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for OverscrollBehaviorXStyleValue
impl StructuralPartialEq for OverscrollBehaviorXStyleValue
Auto Trait Implementations§
impl Freeze for OverscrollBehaviorXStyleValue
impl RefUnwindSafe for OverscrollBehaviorXStyleValue
impl Send for OverscrollBehaviorXStyleValue
impl Sync for OverscrollBehaviorXStyleValue
impl Unpin for OverscrollBehaviorXStyleValue
impl UnwindSafe for OverscrollBehaviorXStyleValue
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