Struct components::material::ScrollbarThemeData
source · [−]pub struct ScrollbarThemeData {
pub thickness: MaterialStateProperty<f32>,
pub show_track_on_hover: bool,
pub is_always_shown: bool,
pub radius: Radius,
pub thumb_color: MaterialStateProperty<Color>,
pub track_color: MaterialStateProperty<Color>,
pub track_border_color: MaterialStateProperty<Color>,
pub cross_axis_margin: f32,
pub main_axis_margin: f32,
pub min_thumb_length: f32,
pub interactive: bool,
}
Fields
thickness: MaterialStateProperty<f32>
show_track_on_hover: bool
is_always_shown: bool
radius: Radius
thumb_color: MaterialStateProperty<Color>
track_color: MaterialStateProperty<Color>
track_border_color: MaterialStateProperty<Color>
cross_axis_margin: f32
main_axis_margin: f32
min_thumb_length: f32
interactive: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ScrollbarThemeData
impl Send for ScrollbarThemeData
impl Sync for ScrollbarThemeData
impl Unpin for ScrollbarThemeData
impl UnwindSafe for ScrollbarThemeData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.