Trait Widget
Other items intuirealm::tui::widgets
pub trait Widget { fn render(self, area: Rect, buf: &mut Buffer); }
Base requirements for a Widget
fn render(self, area: Rect, buf: &mut Buffer)
Draws the current state of the widget in the given buffer. That the only method required to implement a custom widget.
impl Widget for Clear
impl<'a> Widget for BarChart<'a>
impl<'a> Widget for Block<'a>
impl<'a> Widget for Chart<'a>
impl<'a> Widget for Gauge<'a>
impl<'a> Widget for LineGauge<'a>
impl<'a> Widget for List<'a>
impl<'a> Widget for Paragraph<'a>
impl<'a> Widget for Sparkline<'a>
impl<'a> Widget for Table<'a>
impl<'a> Widget for Tabs<'a>
impl<'a, F> Widget for Canvas<'a, F> where F: Fn(&mut Context<'_>),