pub struct ScrollbarStyle {
pub width: u16,
pub track: Style,
pub thumb: Style,
pub thumb_active: Style,
pub track_glyph: char,
pub thumb_glyph: char,
}Expand description
Visual appearance of a Scrollbar.
Fields§
§width: u16Track width in columns (usually 1, sometimes 2 for a wider thumb).
track: Style§thumb: Style§thumb_active: StyleWhile the thumb is being dragged.
track_glyph: char§thumb_glyph: charTrait Implementations§
Source§impl Clone for ScrollbarStyle
impl Clone for ScrollbarStyle
impl Copy for ScrollbarStyle
Source§impl Debug for ScrollbarStyle
impl Debug for ScrollbarStyle
Auto Trait Implementations§
impl Freeze for ScrollbarStyle
impl RefUnwindSafe for ScrollbarStyle
impl Send for ScrollbarStyle
impl Sync for ScrollbarStyle
impl Unpin for ScrollbarStyle
impl UnsafeUnpin for ScrollbarStyle
impl UnwindSafe for ScrollbarStyle
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