pub struct Glyphs {Show 64 fields
pub unicode: bool,
pub selector: &'static str,
pub selector_blank: &'static str,
pub cursor: &'static str,
pub prompt: &'static str,
pub rule: &'static str,
pub rule_broken: &'static str,
pub ellipsis: &'static str,
pub times: &'static str,
pub collapsed: &'static str,
pub expanded: &'static str,
pub updown: &'static str,
pub updown_lr: &'static str,
pub ctrl_updown: &'static str,
pub middot: &'static str,
pub dash: &'static str,
pub r_squared: &'static str,
pub rho: &'static str,
pub spinner: &'static [&'static str],
pub here: &'static str,
pub in_memory: &'static str,
pub over_network: &'static str,
pub in_object_store: &'static str,
pub place_unknown: &'static str,
pub null: &'static str,
pub absent: &'static str,
pub conflict: &'static str,
pub drift_mark: &'static str,
pub sort_asc: &'static str,
pub sort_desc: &'static str,
pub rail: &'static str,
pub rule_h: &'static str,
pub rule_h_focused: &'static str,
pub arrow_left: &'static str,
pub arrow_right: &'static str,
pub trail: &'static str,
pub choice_prev: &'static str,
pub choice_next: &'static str,
pub hidden_mark: &'static str,
pub diff_mark: &'static str,
pub checkbox_on: &'static str,
pub checkbox_off: &'static str,
pub radio_on: &'static str,
pub radio_off: &'static str,
pub dot_full: &'static str,
pub dot_half: &'static str,
pub dot_empty: &'static str,
pub score_marks: &'static [&'static str; 5],
pub check: &'static str,
pub warning: &'static str,
pub scroll_thumb: &'static str,
pub scroll_track: &'static str,
pub binary_stub: &'static str,
pub newline_mark: &'static str,
pub tab_mark: &'static str,
pub control_mark: &'static str,
pub hex_dot: &'static str,
pub mini_bars: &'static [&'static str; 8],
pub unsampled: &'static str,
pub pointer: &'static str,
pub bar_eighths: &'static [&'static str; 8],
pub wordmark: Option<&'static [&'static str]>,
pub border: Set<'static>,
pub plot: PlotMarks,
}Expand description
Symbols used by the UI, in whichever alphabet the terminal can render.
Fields§
§unicode: boolWhether this is the Unicode set. UNICODE and ASCII are consts, so
every use instantiates fresh promoted statics — neither the set’s address
nor its fields’ can identify it. The set says itself.
selector: &'static strMarks the selected row — the one thing that must be findable instantly.
selector_blank: &'static strNon-selected row indent; must be the same display width as selector.
cursor: &'static strText cursor in an input.
prompt: &'static strPrompt marker.
rule: &'static strVertical rule between panes.
rule_broken: &'static strThe frozen-columns separator while the window is too narrow for every frozen
column: the rest scroll after it until there is room. One column wide, like
rule, and visibly not it.
ellipsis: &'static strTruncation marker.
times: &'static strBetween row and column counts: 2.4M × 18.
collapsed: &'static strSection collapse markers; both must be the same display width.
expanded: &'static str§updown: &'static strKeycap names for the control bar. Named keys are spelled out there, matching the rest of datui, so only the arrows need a fallback.
updown_lr: &'static strLeft/right pair, for the fold hint.
ctrl_updown: &'static strCtrl plus the up/down pair, for the section-jump chip.
middot: &'static strSeparator between facts in a status line: listing · nfs.
dash: &'static strA fact that is not there: a size no footer stated, a format nothing named. Also joins a note’s summary to its scope.
r_squared: &'static strThe coefficient of determination, in the regression fit line.
rho: &'static strSpearman’s rank correlation, in the correlation matrix.
spinner: &'static [&'static str]Spinner frames, cycled while something is loading. Every frame must be the same display width, or the text beside it jitters.
here: &'static strWhere a row’s data lives, shown beside its name.
Beside the name on purpose. The detail pane has said this for a long time, but on a full-screen ultrawide the pane is a foot away from the row the cursor is on, and “is this one in the cloud?” is a question you ask about the row you are looking at. All five must be the same display width or every name after them shifts by a column.
in_memory: &'static str§over_network: &'static str§in_object_store: &'static str§place_unknown: &'static str§null: &'static strA null cell. Blank is what a null used to be, and blank is also what an empty string is, so the two were indistinguishable.
absent: &'static strA cell whose file has no such column: not a null the data holds, but a column
that file was written without. One character wide, like null, so a column of
them lines up.
conflict: &'static strA cell whose file stores the column in a type the column cannot hold, so it was not read from that file. A value is there; it is not this type.
drift_mark: &'static strAfter a column’s name in the header: this column is not in every file, or the files disagree on its type. A footnote mark, and the Info panel is the note.
sort_asc: &'static strAfter a column’s name in the header: the view is sorted by this column, and
which way. The header width arithmetic counts these like drift_mark, so both
must be one column wide in both sets. Triangles, not arrow_left/arrow_right,
which already mean “columns off-screen” in the same header row.
sort_desc: &'static str§rail: &'static strThe rail down the left edge of the row the cursor is on.
rule_h: &'static strRule drawn beside a section title: resting, and under the cursor.
rule_h_focused: &'static str§arrow_left: &'static strArrows for the off-screen column hints in the table header.
arrow_right: &'static str§trail: &'static strBetween the steps of a location trail: cloud › Azure › datui-test.
choice_prev: &'static strEither side of a choice shown alone because its values do not fit on its
row: ‹ TSV ›, which ←/→ step. One column wide in both sets.
choice_next: &'static strAfter a column’s name in a column list: hidden from the table. One column wide in both sets, like the header marks.
diff_mark: &'static strAfter a field in the inspector’s Compare column: the two rows’ values differ. One column wide in both sets.
checkbox_on: &'static strCheckbox states, for toggle lists.
checkbox_off: &'static str§radio_on: &'static strRadio button states, for pick-one lists.
radio_off: &'static str§dot_full: &'static strSingle-cell state dots: all, some, none. One column wide in both sets.
dot_half: &'static str§dot_empty: &'static str§score_marks: &'static [&'static str; 5]Five ascending levels for a score shown as one character.
check: &'static strA confirmation mark.
warning: &'static strA caution mark.
scroll_thumb: &'static strScrollbar thumb, drawn down the right edge of an overlay.
scroll_track: &'static strThe scrollbar’s track, above and below the thumb: a lighter shade of it.
binary_stub: &'static strStands in for a value that is bytes, not text.
newline_mark: &'static strIn a one-line preview of text, where the value has a line break, a tab, or another control character, which a terminal cell cannot draw. One column wide in both sets. The inspector shows the characters themselves.
tab_mark: &'static str§control_mark: &'static str§hex_dot: &'static strA byte in the hex view’s ASCII gutter that is not printable. One column wide in both sets.
mini_bars: &'static [&'static str; 8]Eight compact levels for inline charts (lowest to highest).
unsampled: &'static strIn a line of mini_bars, a place with nothing measured: segments a sample
drew no row from. One column wide in both sets, and unlike every bar level.
pointer: &'static strUnder a line of bars, the one selected. One column wide in both sets.
bar_eighths: &'static [&'static str; 8]A horizontal bar’s end, one to eight eighths of a cell filled from the left; the last is a whole cell, the bar’s body. One column wide in both sets.
wordmark: Option<&'static [&'static str]>The home-screen wordmark, three rows of box drawing. None when the terminal
cannot draw it, and the one-line title bar is used instead.
border: Set<'static>The one border every Surface draws. Not a [glyphs] override slot:
its eight pieces must agree with each other, and ratatui draws them.
plot: PlotMarksWhat the plots draw with. Not a [glyphs] override slot: ratatui draws
these, and the Unicode marks are whole blocks of braille and eighths.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Glyphs
impl RefUnwindSafe for Glyphs
impl Send for Glyphs
impl Sync for Glyphs
impl Unpin for Glyphs
impl UnsafeUnpin for Glyphs
impl UnwindSafe for Glyphs
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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<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 moreSource§impl<T> Key for Twhere
T: Clone,
impl<T> Key for Twhere
T: Clone,
Source§impl<D> OwoColorize for D
impl<D> OwoColorize for D
Source§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Source§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Source§fn black(&self) -> FgColorDisplay<'_, Black, Self>
fn black(&self) -> FgColorDisplay<'_, Black, Self>
Source§fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
Source§fn red(&self) -> FgColorDisplay<'_, Red, Self>
fn red(&self) -> FgColorDisplay<'_, Red, Self>
Source§fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
Source§fn green(&self) -> FgColorDisplay<'_, Green, Self>
fn green(&self) -> FgColorDisplay<'_, Green, Self>
Source§fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
Source§fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
Source§fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
Source§fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
Source§fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
Source§fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
Source§fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
Source§fn white(&self) -> FgColorDisplay<'_, White, Self>
fn white(&self) -> FgColorDisplay<'_, White, Self>
Source§fn on_white(&self) -> BgColorDisplay<'_, White, Self>
fn on_white(&self) -> BgColorDisplay<'_, White, Self>
Source§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Source§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Source§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Source§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Source§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Source§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Source§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Source§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Source§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Source§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Source§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Source§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Source§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Source§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Source§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Source§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Source§fn bold(&self) -> BoldDisplay<'_, Self>
fn bold(&self) -> BoldDisplay<'_, Self>
Source§fn dimmed(&self) -> DimDisplay<'_, Self>
fn dimmed(&self) -> DimDisplay<'_, Self>
Source§fn italic(&self) -> ItalicDisplay<'_, Self>
fn italic(&self) -> ItalicDisplay<'_, Self>
Source§fn underline(&self) -> UnderlineDisplay<'_, Self>
fn underline(&self) -> UnderlineDisplay<'_, Self>
Source§fn blink(&self) -> BlinkDisplay<'_, Self>
fn blink(&self) -> BlinkDisplay<'_, Self>
Source§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Source§fn reversed(&self) -> ReversedDisplay<'_, Self>
fn reversed(&self) -> ReversedDisplay<'_, Self>
Source§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Source§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg or
a color-specific method, such as OwoColorize::green, Read moreSource§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg or
a color-specific method, such as OwoColorize::on_yellow, Read more