pub enum WidgetKind {
Show 32 variants
Text,
Tail,
List,
Gauge,
Bars,
Histo,
Spark,
Chart,
Table,
Tabs,
Block,
Frame,
LineGauge,
Scatter,
Sparkline,
Map,
Calendar,
LogView,
Heatmap,
Treemap,
Gantt,
Diff,
Logo,
Blank,
Rule,
Sel,
Input,
Select,
Filter,
Facet,
Slider,
Check,
}Variants§
Text
Tail
List
Gauge
Bars
Histo
Spark
Chart
Table
Tabs
Block
Frame
LineGauge
A thin single-line progress bar (ratatui LineGauge) — a compact gauge
for tight grid cells. Same scalar source + -max as gauge.
Scatter
A braille scatter/line plot (ratatui Canvas) of a numeric series — a
higher-resolution chart drawn with braille dots. -mode line|points.
Sparkline
A block-bar sparkline (ratatui Sparkline) of the numeric series — the
classic fixed-height bar sparkline (distinct from spark’s braille line).
Map
A braille world map (ratatui Canvas + Map) plotting lon lat points
parsed from the stream — geo scatter (IP geolocation, GPS traces). -res high|low.
Calendar
A month calendar (ratatui Monthly) for the current month, highlighting
days that appear as YYYY-MM-DD in the stream (activity by day).
LogView
A level-colored log tail: like tail, but each line is tinted by its log
level (ERROR/WARN/INFO/DEBUG) detected in the text — theme-aware.
Heatmap
A heatmap grid (GitHub-contribution-style): the numeric series laid out as colored cells, each cell’s shade scaled from the value across the palette.
Treemap
A treemap (slice-and-dice): tally/count_by pairs as proportional
labeled rectangles filling the pane, colored across the palette.
Gantt
A Gantt/timeline: label start end lines drawn as horizontal bars on a
shared time axis (min start → max end).
Diff
A diff-colored view: each line tinted by its leading char — + add (green),
- remove (red), @ hunk (accent) — for git diff/patch streams.
Logo
The ratatui logo (braille wordmark), centered — a decorative splash.
Blank
A blank spacer (ratatui Clear) — occupies a grid cell without drawing, to
open space in a layout.
Rule
A horizontal (or -dir vertical) divider rule in the theme accent.
Sel
An in-dashboard selection list over its own source (per-widget), with a
moveable cursor. Its highlighted row is published as the control value
.<path>.sel, readable from where/apply/tell/ask (SPEC §14). E.g.
ps aux | arb with sel .ps { in } exposes .ps.sel = the current row.
Input
An editable text field. Its live value is bound into pipelines via
apply .name (parse the value as a query pipeline) — the megafilter/map.
Select
An interactive fuzzy-select list over the stream (the fzf surface as a
widget). Its presence puts the TUI in select mode: type to fuzzy-filter,
arrows/Ctrl-N/P move the cursor, Tab marks, Enter emits the picked lines.
-prompt/-header opts set the prompt line and a header above the list.
Filter
A text box whose value drives where match(.name) / apply — a labelled
filter control (a specialised input).
Facet
A multi-select of candidate values (-opts {a b c}, else distinct stream
-field values). Its value is the comma-joined selected set for
where <field> in .name.
Slider
A numeric control (-min/-max/-step) whose value drives
where <field> < .name; arrows/+/- adjust it.
Check
A boolean toggle (-label); its value is "1"/"0".
Implementations§
Source§impl WidgetKind
impl WidgetKind
Trait Implementations§
Source§impl Clone for WidgetKind
impl Clone for WidgetKind
impl Copy for WidgetKind
Source§impl Debug for WidgetKind
impl Debug for WidgetKind
impl Eq for WidgetKind
Source§impl PartialEq for WidgetKind
impl PartialEq for WidgetKind
impl StructuralPartialEq for WidgetKind
Auto Trait Implementations§
impl Forget for WidgetKind
impl Freeze for WidgetKind
impl Move for WidgetKind
impl RefUnwindSafe for WidgetKind
impl Send for WidgetKind
impl Sync for WidgetKind
impl Unpin for WidgetKind
impl UnsafeUnpin for WidgetKind
impl UnwindSafe for WidgetKind
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more