pub trait Fill {
// Required method
fn fill(&self, display: &mut Display, color: impl Into<Rgb<u8>>);
}
Expand description
A type implementing this trait can draw a filled shape to the display.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.