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