pub enum ScrollbarWidthStyleValue {
Auto(Ident),
Thin(Ident),
None(Ident),
}Expand description
Represents the style value for scrollbar-width as defined in css-scrollbars-1.
The scrollbar-width CSS property sets the width of the scrollbar.
The grammar is defined as:
auto | thin | noneVariants§
Trait Implementations§
Source§impl Clone for ScrollbarWidthStyleValue
impl Clone for ScrollbarWidthStyleValue
Source§fn clone(&self) -> ScrollbarWidthStyleValue
fn clone(&self) -> ScrollbarWidthStyleValue
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 ScrollbarWidthStyleValue
impl Debug for ScrollbarWidthStyleValue
Source§impl Hash for ScrollbarWidthStyleValue
impl Hash for ScrollbarWidthStyleValue
Source§impl Ord for ScrollbarWidthStyleValue
impl Ord for ScrollbarWidthStyleValue
Source§fn cmp(&self, other: &ScrollbarWidthStyleValue) -> Ordering
fn cmp(&self, other: &ScrollbarWidthStyleValue) -> 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 ScrollbarWidthStyleValue
impl<'a> Parse<'a> for ScrollbarWidthStyleValue
Source§impl PartialEq for ScrollbarWidthStyleValue
impl PartialEq for ScrollbarWidthStyleValue
Source§impl PartialOrd for ScrollbarWidthStyleValue
impl PartialOrd for ScrollbarWidthStyleValue
Source§impl<'a> Peek<'a> for ScrollbarWidthStyleValue
impl<'a> Peek<'a> for ScrollbarWidthStyleValue
Source§impl ToCursors for ScrollbarWidthStyleValue
impl ToCursors for ScrollbarWidthStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ScrollbarWidthStyleValue
impl StructuralPartialEq for ScrollbarWidthStyleValue
Auto Trait Implementations§
impl Freeze for ScrollbarWidthStyleValue
impl RefUnwindSafe for ScrollbarWidthStyleValue
impl Send for ScrollbarWidthStyleValue
impl Sync for ScrollbarWidthStyleValue
impl Unpin for ScrollbarWidthStyleValue
impl UnwindSafe for ScrollbarWidthStyleValue
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