pub trait Drawable<DB: DrawingBackend, CM: CoordMapper = BackendCoordOnly> {
// Required method
fn draw<I: Iterator<Item = CM::Output>>(
&self,
pos: I,
backend: &mut DB,
parent_dim: (u32, u32),
) -> Result<(), DrawingErrorKind<DB::ErrorType>>;
}
Expand description
The trait indicates we are able to draw it on a drawing area
Required Methods§
Object Safety§
This trait is not object safe.