pub struct ScrollBarOptions {
pub orientation: ScrollOrientation,
pub show_arrows: bool,
pub track_color: ColorPair,
pub thumb_color: ColorPair,
pub arrow_color: ColorPair,
pub scroll_step: Option<u16>,
}Expand description
Options for a scrollbar.
Fields§
§orientation: ScrollOrientation§show_arrows: bool§track_color: ColorPairTrack/slider colors.
thumb_color: ColorPair§arrow_color: ColorPairArrow button color.
scroll_step: Option<u16>Optional step size in cells for arrow clicks / step scrolling.
Trait Implementations§
Source§impl Clone for ScrollBarOptions
impl Clone for ScrollBarOptions
Source§fn clone(&self) -> ScrollBarOptions
fn clone(&self) -> ScrollBarOptions
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 moreSource§impl Debug for ScrollBarOptions
impl Debug for ScrollBarOptions
Auto Trait Implementations§
impl Freeze for ScrollBarOptions
impl RefUnwindSafe for ScrollBarOptions
impl Send for ScrollBarOptions
impl Sync for ScrollBarOptions
impl Unpin for ScrollBarOptions
impl UnsafeUnpin for ScrollBarOptions
impl UnwindSafe for ScrollBarOptions
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