pub struct SliderPaint<'a> {
pub theme: &'a Theme,
pub palette: SliderPalette,
pub enabled: bool,
pub discrete: bool,
pub opacity: f32,
}Expand description
What every part is painted with.
Fields§
§theme: &'a ThemeThe theme in force where the slider is.
palette: SliderPaletteThe slider’s colours.
enabled: boolWhether the slider can be moved.
discrete: boolWhether it has divisions.
opacity: f32The opacity everything is painted at.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for SliderPaint<'a>
impl<'a> Clone for SliderPaint<'a>
impl<'a> Copy for SliderPaint<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SliderPaint<'a>
impl<'a> !Send for SliderPaint<'a>
impl<'a> !Sync for SliderPaint<'a>
impl<'a> !UnwindSafe for SliderPaint<'a>
impl<'a> Freeze for SliderPaint<'a>
impl<'a> Unpin for SliderPaint<'a>
impl<'a> UnsafeUnpin for SliderPaint<'a>
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