pub trait Shape { // Required method fn draw(&self, painter: &mut Painter<'_, '_>); }
Interface for all shapes that may be drawn on a Canvas widget.