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