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 more