pub enum ScrollMarkerGroupStyleValue {
None(Ident),
Before(Ident),
After(Ident),
}Expand description
Represents the style value for scroll-marker-group as defined in css-overflow-5.
A scroll container can be navigated by activating ::scroll-marker pseudo-elements which appear in a generated ::scroll-marker-group pseudo-element, either before or after the scroll container.
The grammar is defined as:
none | before | afterVariants§
Trait Implementations§
Source§impl Clone for ScrollMarkerGroupStyleValue
impl Clone for ScrollMarkerGroupStyleValue
Source§fn clone(&self) -> ScrollMarkerGroupStyleValue
fn clone(&self) -> ScrollMarkerGroupStyleValue
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 Debug for ScrollMarkerGroupStyleValue
impl Debug for ScrollMarkerGroupStyleValue
Source§impl Hash for ScrollMarkerGroupStyleValue
impl Hash for ScrollMarkerGroupStyleValue
Source§impl Ord for ScrollMarkerGroupStyleValue
impl Ord for ScrollMarkerGroupStyleValue
Source§fn cmp(&self, other: &ScrollMarkerGroupStyleValue) -> Ordering
fn cmp(&self, other: &ScrollMarkerGroupStyleValue) -> 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 ScrollMarkerGroupStyleValue
impl<'a> Parse<'a> for ScrollMarkerGroupStyleValue
Source§impl PartialOrd for ScrollMarkerGroupStyleValue
impl PartialOrd for ScrollMarkerGroupStyleValue
Source§impl<'a> Peek<'a> for ScrollMarkerGroupStyleValue
impl<'a> Peek<'a> for ScrollMarkerGroupStyleValue
Source§impl ToCursors for ScrollMarkerGroupStyleValue
impl ToCursors for ScrollMarkerGroupStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ScrollMarkerGroupStyleValue
impl StructuralPartialEq for ScrollMarkerGroupStyleValue
Auto Trait Implementations§
impl Freeze for ScrollMarkerGroupStyleValue
impl RefUnwindSafe for ScrollMarkerGroupStyleValue
impl Send for ScrollMarkerGroupStyleValue
impl Sync for ScrollMarkerGroupStyleValue
impl Unpin for ScrollMarkerGroupStyleValue
impl UnwindSafe for ScrollMarkerGroupStyleValue
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