pub trait SliderValueIndicatorShape {
// Required method
fn paint(
&self,
scene: &mut Scene,
centre: Point,
text: String,
scale: f32,
paint: &SliderPaint<'_>,
);
}Expand description
Paints the value indicator over a thumb: the reference’s value indicator shapes.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".