pub struct ScrollbarStyle {
pub thumb: Style,
pub track: Style,
pub begin: Style,
pub end: Style,
pub thumb_symbol: Option<&'static str>,
pub track_symbol: Option<&'static str>,
pub begin_symbol: Option<&'static str>,
pub end_symbol: Option<&'static str>,
}Expand description
Style and symbol overrides for debug scrollbars
Fields§
§thumb: StyleStyle for the scrollbar thumb
track: StyleStyle for the scrollbar track
begin: StyleStyle for the begin symbol
end: StyleStyle for the end symbol
thumb_symbol: Option<&'static str>Override for the thumb symbol
track_symbol: Option<&'static str>Override for the track symbol
begin_symbol: Option<&'static str>Override for the begin symbol
end_symbol: Option<&'static str>Override for the end symbol
Trait Implementations§
Source§impl Clone for ScrollbarStyle
impl Clone for ScrollbarStyle
Source§fn clone(&self) -> ScrollbarStyle
fn clone(&self) -> ScrollbarStyle
Returns a duplicate 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
Source§impl Default for ScrollbarStyle
impl Default for ScrollbarStyle
Source§fn default() -> ScrollbarStyle
fn default() -> ScrollbarStyle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScrollbarStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more