#[non_exhaustive]pub enum ScrollbarColor {
Auto,
Color(Color),
Raw(Raw),
}Expand description
A value of scrollbar-color.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ScrollbarColor
impl Clone for ScrollbarColor
Source§fn clone(&self) -> ScrollbarColor
fn clone(&self) -> ScrollbarColor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScrollbarColor
impl Debug for ScrollbarColor
Source§impl Display for ScrollbarColor
impl Display for ScrollbarColor
Source§impl From<Color> for ScrollbarColor
impl From<Color> for ScrollbarColor
Source§impl From<Raw> for ScrollbarColor
impl From<Raw> for ScrollbarColor
Source§impl PartialEq for ScrollbarColor
impl PartialEq for ScrollbarColor
impl StructuralPartialEq for ScrollbarColor
Auto Trait Implementations§
impl Freeze for ScrollbarColor
impl RefUnwindSafe for ScrollbarColor
impl Send for ScrollbarColor
impl Sync for ScrollbarColor
impl Unpin for ScrollbarColor
impl UnsafeUnpin for ScrollbarColor
impl UnwindSafe for ScrollbarColor
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