[][src]Trait tui::widgets::canvas::Shape

pub trait Shape {
    fn draw(&self, painter: &mut Painter);
}

Interface for all shapes that may be drawn on a Canvas widget.

Required methods

fn draw(&self, painter: &mut Painter)

Loading content...

Implementors

impl Shape for Line[src]

impl Shape for Map[src]

impl Shape for Rectangle[src]

impl<'a> Shape for Points<'a>[src]

Loading content...