Trait Shape
tui::widgets::canvas
pub trait Shape { fn draw(&self, painter: &mut Painter); }
Interface for all shapes that may be drawn on a Canvas widget.
fn draw(&self, painter: &mut Painter)
impl Shape for Line
impl Shape for Map
impl Shape for Rectangle
impl<'a> Shape for Points<'a>