Trait tui::widgets::Widget[][src]

pub trait Widget {
    fn render(self, area: Rect, buf: &mut Buffer);
}
Expand description

Base requirements for a Widget

Required methods

Draws the current state of the widget in the given buffer. That the only method required to implement a custom widget.

Implementors