pub struct ScrollbarColorStyleValue(pub AutoOr<(Color, Color)>);Expand description
Represents the style value for scrollbar-color as defined in css-scrollbars-1.
The scrollbar-color CSS property sets the color of the scrollbar track and thumb.
The grammar is defined as:
auto | <color>{2}Tuple Fields§
§0: AutoOr<(Color, Color)>Trait Implementations§
Source§impl Clone for ScrollbarColorStyleValue
impl Clone for ScrollbarColorStyleValue
Source§fn clone(&self) -> ScrollbarColorStyleValue
fn clone(&self) -> ScrollbarColorStyleValue
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 ScrollbarColorStyleValue
impl Debug for ScrollbarColorStyleValue
Source§impl Hash for ScrollbarColorStyleValue
impl Hash for ScrollbarColorStyleValue
Source§impl Ord for ScrollbarColorStyleValue
impl Ord for ScrollbarColorStyleValue
Source§fn cmp(&self, other: &ScrollbarColorStyleValue) -> Ordering
fn cmp(&self, other: &ScrollbarColorStyleValue) -> 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 ScrollbarColorStyleValue
impl<'a> Parse<'a> for ScrollbarColorStyleValue
Source§impl PartialEq for ScrollbarColorStyleValue
impl PartialEq for ScrollbarColorStyleValue
Source§impl PartialOrd for ScrollbarColorStyleValue
impl PartialOrd for ScrollbarColorStyleValue
Source§impl<'a> Peek<'a> for ScrollbarColorStyleValue
impl<'a> Peek<'a> for ScrollbarColorStyleValue
Source§impl ToCursors for ScrollbarColorStyleValue
impl ToCursors for ScrollbarColorStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ScrollbarColorStyleValue
impl StructuralPartialEq for ScrollbarColorStyleValue
Auto Trait Implementations§
impl Freeze for ScrollbarColorStyleValue
impl RefUnwindSafe for ScrollbarColorStyleValue
impl Send for ScrollbarColorStyleValue
impl Sync for ScrollbarColorStyleValue
impl Unpin for ScrollbarColorStyleValue
impl UnwindSafe for ScrollbarColorStyleValue
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