pub struct RoundedRectRangeSliderTrackShape;Expand description
A range slider’s default track, the reference’s rounded rectangle: the parts outside the thumbs rounded, the span between them square and two pixels thicker.
Trait Implementations§
impl Copy for RoundedRectRangeSliderTrackShape
Source§impl SliderTrackShape for RoundedRectRangeSliderTrackShape
impl SliderTrackShape for RoundedRectRangeSliderTrackShape
Source§fn paint(
&self,
scene: &mut Scene,
track: Rect,
thumbs: &[f32],
_secondary: Option<f32>,
paint: &SliderPaint<'_>,
)
fn paint( &self, scene: &mut Scene, track: Rect, thumbs: &[f32], _secondary: Option<f32>, paint: &SliderPaint<'_>, )
Paints the track along
track — the travel, inset in the slider’s box, as tall as the
theme’s track height — with the thumbs’ centres across at thumbs: one for a slider,
the start and the end for a range slider. secondary is where a slider’s secondary
value lies, if it has one.impl StructuralPartialEq for RoundedRectRangeSliderTrackShape
Auto Trait Implementations§
impl Freeze for RoundedRectRangeSliderTrackShape
impl RefUnwindSafe for RoundedRectRangeSliderTrackShape
impl Send for RoundedRectRangeSliderTrackShape
impl Sync for RoundedRectRangeSliderTrackShape
impl Unpin for RoundedRectRangeSliderTrackShape
impl UnsafeUnpin for RoundedRectRangeSliderTrackShape
impl UnwindSafe for RoundedRectRangeSliderTrackShape
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