pub enum ScrollBarColor {
Background,
Foreground,
}Expand description
Which pair of colours is used for the track vs thumb.
Variants§
Background
Track = neutral background; thumb = slightly brighter. Default.
Foreground
Track = transparent; thumb = accent-tinted foreground.
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 · 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 Default for ScrollBarColor
impl Default for ScrollBarColor
Source§impl PartialEq for ScrollBarColor
impl PartialEq for ScrollBarColor
impl Copy for ScrollBarColor
impl Eq 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