pub struct SliderConfig {
pub modifier: Modifier,
pub active_track_color: Color,
pub inactive_track_color: Color,
pub thumb_color: Color,
}Expand description
Configuration for M3Slider and M3RangeSlider.
Fields§
§modifier: Modifier§active_track_color: Color§inactive_track_color: Color§thumb_color: ColorTrait Implementations§
Source§impl Clone for SliderConfig
impl Clone for SliderConfig
Source§fn clone(&self) -> SliderConfig
fn clone(&self) -> SliderConfig
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 SliderConfig
impl Debug for SliderConfig
Auto Trait Implementations§
impl !RefUnwindSafe for SliderConfig
impl !Send for SliderConfig
impl !Sync for SliderConfig
impl !UnwindSafe for SliderConfig
impl Freeze for SliderConfig
impl Unpin for SliderConfig
impl UnsafeUnpin for SliderConfig
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