pub struct SliderDefaults;Expand description
Default values for slider.
Implementations§
Source§impl SliderDefaults
impl SliderDefaults
pub const TRACK_HEIGHT: f32 = 4.0
pub const THUMB_SIZE: f32 = 20.0
pub fn active_track_color() -> Color
pub fn inactive_track_color() -> Color
pub fn thumb_color() -> Color
pub fn active_tick_color() -> Color
pub fn inactive_tick_color() -> Color
pub fn disabled_thumb_color() -> Color
pub fn disabled_active_track_color() -> Color
pub fn disabled_inactive_track_color() -> Color
pub fn disabled_active_tick_color() -> Color
pub fn disabled_inactive_tick_color() -> Color
pub fn state_colors_default() -> StateColors
Auto Trait Implementations§
impl Freeze for SliderDefaults
impl RefUnwindSafe for SliderDefaults
impl Send for SliderDefaults
impl Sync for SliderDefaults
impl Unpin for SliderDefaults
impl UnsafeUnpin for SliderDefaults
impl UnwindSafe for SliderDefaults
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