#[repr(C, u8)]pub enum StyleScrollbarColor {
Auto,
Custom(ScrollbarColorCustom),
}Expand description
Represents the standard scrollbar-color property.
Variants§
Auto
Custom(ScrollbarColorCustom)
Trait Implementations§
Source§impl Clone for StyleScrollbarColor
impl Clone for StyleScrollbarColor
Source§fn clone(&self) -> StyleScrollbarColor
fn clone(&self) -> StyleScrollbarColor
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 StyleScrollbarColor
impl Debug for StyleScrollbarColor
Source§impl Default for StyleScrollbarColor
impl Default for StyleScrollbarColor
Source§impl FormatAsRustCode for StyleScrollbarColor
impl FormatAsRustCode for StyleScrollbarColor
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<StyleScrollbarColor> for CssProperty
impl From<StyleScrollbarColor> for CssProperty
Source§fn from(e: StyleScrollbarColor) -> Self
fn from(e: StyleScrollbarColor) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleScrollbarColor
impl Hash for StyleScrollbarColor
Source§impl Ord for StyleScrollbarColor
impl Ord for StyleScrollbarColor
Source§fn cmp(&self, other: &StyleScrollbarColor) -> Ordering
fn cmp(&self, other: &StyleScrollbarColor) -> 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 PartialEq for StyleScrollbarColor
impl PartialEq for StyleScrollbarColor
Source§impl PartialOrd for StyleScrollbarColor
impl PartialOrd for StyleScrollbarColor
Source§impl PrintAsCssValue for StyleScrollbarColor
impl PrintAsCssValue for StyleScrollbarColor
fn print_as_css_value(&self) -> String
impl Copy for StyleScrollbarColor
impl Eq for StyleScrollbarColor
impl StructuralPartialEq for StyleScrollbarColor
Auto Trait Implementations§
impl Freeze for StyleScrollbarColor
impl RefUnwindSafe for StyleScrollbarColor
impl Send for StyleScrollbarColor
impl Sync for StyleScrollbarColor
impl Unpin for StyleScrollbarColor
impl UnwindSafe for StyleScrollbarColor
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