pub trait Paint<T>: Context {
// Required method
fn paint(&mut self, area: Rect<Self::Scalar>, command: &T);
}Expand description
accepts one kind of drawing operation in frame coordinates
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".