pub trait SliderOverlayShape {
// Required method
fn paint(
&self,
scene: &mut Scene,
centre: Point,
activation: f32,
color: Color,
paint: &SliderPaint<'_>,
);
}Expand description
Paints the halo around a hovered, focused or held thumb: the reference’s overlay shape.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".