pub struct SliderStyle {
pub length: f32,
pub width: f32,
pub background: Color,
pub color: Color,
pub border_radius: BorderRadius,
pub border_width: BorderWidth,
pub border_color: Color,
}Expand description
The style of a Slider.
Fields§
§length: f32The length of the slider.
width: f32The width of the slider.
background: ColorThe background color of the slider.
color: ColorThe foreground color of the slider.
border_radius: BorderRadiusThe border radius of the slider.
border_width: BorderWidthThe border width of the slider.
border_color: ColorThe border color of the slider.
Trait Implementations§
Source§impl Clone for SliderStyle
impl Clone for SliderStyle
Source§fn clone(&self) -> SliderStyle
fn clone(&self) -> SliderStyle
Returns a copy 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 Rebuild for SliderStyle
impl Rebuild for SliderStyle
Source§fn rebuild(&self, cx: &mut RebuildCx<'_, '_>, old: &SliderStyle)
fn rebuild(&self, cx: &mut RebuildCx<'_, '_>, old: &SliderStyle)
Rebuild the view.
Source§impl Style for SliderStyle
impl Style for SliderStyle
Source§fn default_style() -> StyleBuilder<SliderStyle>
fn default_style() -> StyleBuilder<SliderStyle>
The default style of the object.
Auto Trait Implementations§
impl Freeze for SliderStyle
impl RefUnwindSafe for SliderStyle
impl Send for SliderStyle
impl Sync for SliderStyle
impl Unpin for SliderStyle
impl UnwindSafe for SliderStyle
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