pub trait Shape {
// Required method
fn draw(&self, grid: &mut BrailleGrid);
}Expand description
A shape that can be drawn on a braille canvas
Required Methods§
Sourcefn draw(&self, grid: &mut BrailleGrid)
fn draw(&self, grid: &mut BrailleGrid)
Draw the shape onto the braille grid