pub struct ScrollbarColors {
pub track: Color,
pub thumb: Color,
pub dragged_thumb: Color,
}Expand description
The colours a Scrollbar paints with.
Fields§
§track: ColorThe rail behind the thumb. Fully transparent hides it.
thumb: ColorThe thumb at rest.
dragged_thumb: ColorThe thumb while it is being dragged.
Implementations§
Trait Implementations§
Source§impl Clone for ScrollbarColors
impl Clone for ScrollbarColors
Source§fn clone(&self) -> ScrollbarColors
fn clone(&self) -> ScrollbarColors
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 moreimpl Copy for ScrollbarColors
Source§impl Debug for ScrollbarColors
impl Debug for ScrollbarColors
Source§impl Default for ScrollbarColors
impl Default for ScrollbarColors
Source§impl PartialEq for ScrollbarColors
impl PartialEq for ScrollbarColors
impl StructuralPartialEq for ScrollbarColors
Auto Trait Implementations§
impl Freeze for ScrollbarColors
impl RefUnwindSafe for ScrollbarColors
impl Send for ScrollbarColors
impl Sync for ScrollbarColors
impl Unpin for ScrollbarColors
impl UnsafeUnpin for ScrollbarColors
impl UnwindSafe for ScrollbarColors
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