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 is the only method required to implement a custom widget.

Implementors