Struct termimad::ScrollBarStyle
source · pub struct ScrollBarStyle {
pub track: StyledChar,
pub thumb: StyledChar,
}
Expand description
A scrollbar style defined by two styled chars, one for the track, and one for the thumb.
For the default styling only the fg color is defined and the char is ▐ but everything can be changed.
Fields§
§track: StyledChar
§thumb: StyledChar
Implementations§
Trait Implementations§
source§impl Clone for ScrollBarStyle
impl Clone for ScrollBarStyle
source§fn clone(&self) -> ScrollBarStyle
fn clone(&self) -> ScrollBarStyle
Returns a copy 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 ScrollBarStyle
impl Debug for ScrollBarStyle
Auto Trait Implementations§
impl RefUnwindSafe for ScrollBarStyle
impl Send for ScrollBarStyle
impl Sync for ScrollBarStyle
impl Unpin 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