pub enum Widget {
Gauge(GaugeWidget),
Sparkline(SparklineWidget),
ProgressBar(ProgressBarWidget),
Table(TableWidget),
Text(TextWidget),
}Expand description
TUI widget
Variants§
Gauge(GaugeWidget)
Progress gauge (0-100%)
Sparkline(SparklineWidget)
Sparkline (history graph)
ProgressBar(ProgressBarWidget)
Progress bar with label
Table(TableWidget)
Table with rows
Text(TextWidget)
Text label
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Widget
impl RefUnwindSafe for Widget
impl Send for Widget
impl Sync for Widget
impl Unpin for Widget
impl UnsafeUnpin for Widget
impl UnwindSafe for Widget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more