pub struct ChartModal {Show 36 fields
pub active: bool,
pub spec: ChartSpec,
pub series_cap: Option<usize>,
pub row_order: Option<String>,
pub suggested: Option<String>,
pub y_starts_at_zero: bool,
pub log_scale: bool,
pub show_legend: bool,
pub grid: bool,
pub share: bool,
pub hist_bins: usize,
pub heatmap_bins: usize,
pub kde_bandwidth_factor: f64,
pub value_range: ValueRange,
pub bar_order: BarOrder,
pub row_limit: Option<usize>,
pub sample_rows: usize,
pub rows_draft: Option<RowsDraft>,
pub view_rows: Option<usize>,
pub view_sampled: bool,
pub restored: bool,
pub focus: ChartFocus,
pub picker: Option<PickerState>,
pub picker_for: Option<PickerFor>,
pub picker_details: Vec<String>,
pub numeric_candidates: Vec<String>,
pub temporal_candidates: Vec<String>,
pub bucketable_candidates: Vec<String>,
pub category_candidates: Vec<String>,
pub color_counts: Option<ColorCounts>,
pub dataset: Option<u64>,
pub opened_on: Option<String>,
pub units: Vec<(String, String)>,
pub plot_focus: bool,
pub cursor_x: Option<f64>,
pub plot: Option<PlotPlace>,
}Expand description
Chart view state: the spec, the options, and the panel’s focus.
Fields§
§active: bool§spec: ChartSpec§series_cap: Option<usize>The distinct colors the series slots come out as on this terminal
(Theme::series_colors); None before the app says, read as COLOR_MAX.
row_order: Option<String>The view’s sort as the footer writes it (time ▲), which first and last
read the rows in; None for the order they were read in.
suggested: Option<String>The cursor column’s type when c chose the chart (f64), shown under Type
until the type is changed.
y_starts_at_zero: bool§log_scale: bool§show_legend: bool§grid: boolThe grid at the major ticks, on the kinds with axes (g).
Histogram: each bin’s share of its group’s rows rather than its count.
hist_bins: usize§heatmap_bins: usize§kde_bandwidth_factor: f64§value_range: ValueRangeHistogram, Box and KDE: which values are drawn.
bar_order: BarOrder§row_limit: Option<usize>Rows a chart that samples reads: up to this many, spread across the table.
None = every row. What the chart reads; the Rows row edits rows_draft.
sample_rows: usizeThe sample size Sample returns to, kept while Every row is chosen.
rows_draft: Option<RowsDraft>The Rows row’s pending change, if any.
view_rows: Option<usize>The view’s row count when the table knows it, for Every row’s cost.
view_sampled: boolThe view is a sample, held in memory: the chart reads all of it, and has no Rows row of its own.
restored: boolA saved view put its chart here: c brings it back, whichever column the
cursor is on.
focus: ChartFocus§picker: Option<PickerState>The one Picker, open for the focused row; None while the form has the keys.
picker_for: Option<PickerFor>§picker_details: Vec<String>Per item of the value picker: its rows, shown beside it.
numeric_candidates: Vec<String>§temporal_candidates: Vec<String>§bucketable_candidates: Vec<String>Dates and datetimes: the X columns a time bucket truncates.
category_candidates: Vec<String>§color_counts: Option<ColorCounts>The Color column’s values by rows, once a chart counted them.
dataset: Option<u64>The dataset the choices were made on (App::dataset_generation), and the
column the table’s cursor was on: c again from the same column on the
same dataset brings the chart back as it was left.
opened_on: Option<String>§units: Vec<(String, String)>Each column’s unit, from a delimited spec’s unit row: the axis titles name them. Set as the chart is drawn.
plot_focus: boolThe plot has the keys rather than the panel (x): ←→ move the crosshair.
cursor_x: Option<f64>The x of the point the crosshair stands on, kept while the panel has the keys so it comes back where it was.
plot: Option<PlotPlace>Where the line or scatter plot was last drawn, for the crosshair and a
click; None when it has no points on screen.
Implementations§
Source§impl ChartModal
impl ChartModal
pub fn new() -> Self
Sourcepub fn series_max(&self) -> usize
pub fn series_max(&self) -> usize
Most series a chart draws: one per distinct series color, up to COLOR_MAX.
A 16-color terminal draws fewer rather than two in one color.
Sourcepub fn axis_title(&self, column: &str) -> String
pub fn axis_title(&self, column: &str) -> String
An axis title for column: its name, and its unit when it has one.
pub fn mark(&self) -> Mark
pub fn x(&self) -> Option<&String>
pub fn y(&self) -> &[String]
pub fn aggregate(&self) -> Aggregate
pub fn color(&self) -> Option<&String>
Sourcepub fn open(
&mut self,
columns: ChartColumns<'_>,
cursor: Option<(&str, &DataType)>,
default_row_limit: Option<usize>,
grid: bool,
dataset: u64,
)
pub fn open( &mut self, columns: ChartColumns<'_>, cursor: Option<(&str, &DataType)>, default_row_limit: Option<usize>, grid: bool, dataset: u64, )
Open the chart view. From the column it was left on, on the same dataset,
the chart comes back as it was, less any column the view no longer has.
Otherwise the chart is chosen from the cursor column’s type (cursor): a
histogram of a number, a bar of a category’s counts, a line over a date.
Sourcepub fn restore(&mut self, saved: &SavedChart, dataset: u64)
pub fn restore(&mut self, saved: &SavedChart, dataset: u64)
Put a saved view’s chart in place for dataset: the next c draws it.
Sourcepub fn saved(&self, seed: u64, export: Option<SavedChartExport>) -> SavedChart
pub fn saved(&self, seed: u64, export: Option<SavedChartExport>) -> SavedChart
The chart as a view keeps it, with seed, the one its own sample is drawn
with, and export, how it was last exported.
Sourcepub fn close(&mut self)
pub fn close(&mut self)
Close the chart view. The choices stay for the next open on this dataset.
pub fn close_picker(&mut self)
Sourcepub fn has_crosshair(&self) -> bool
pub fn has_crosshair(&self) -> bool
Whether the crosshair can take the keys: a line or scatter plot with points on screen.
Sourcepub fn x_is_temporal(&self) -> bool
pub fn x_is_temporal(&self) -> bool
Whether X is a date or a time, which a line can bucket.
Sourcepub fn x_is_bucketable(&self) -> bool
pub fn x_is_bucketable(&self) -> bool
Whether X is a date or a datetime, which a time bucket truncates; a time of day is not.
Sourcepub fn y_is_multi(&self) -> bool
pub fn y_is_multi(&self) -> bool
Whether the Y shelf takes several columns: a line or scatter chart draws one series each.
Sourcepub fn color_use_in(spec: &ChartSpec) -> ShelfUse
pub fn color_use_in(spec: &ChartSpec) -> ShelfUse
How spec uses its Color shelf.
Sourcepub fn colored_in(spec: &ChartSpec) -> bool
pub fn colored_in(spec: &ChartSpec) -> bool
Whether spec’s color splits its chart into series.
Sourcepub fn takes_aggregate(&self) -> bool
pub fn takes_aggregate(&self) -> bool
Whether the chart takes an aggregate: a line, a scatter, a bar.
Sourcepub fn aggregates(&self) -> bool
pub fn aggregates(&self) -> bool
Whether the chart reads every row (an aggregate over the whole view) rather than a sample.
Sourcepub fn shows_other_in(spec: &ChartSpec) -> bool
pub fn shows_other_in(spec: &ChartSpec) -> bool
Whether a colored spec draws Other: as set, or on for a scatter, whose
cloud keeps its shape with every point drawn.
pub fn shows_other(&self) -> bool
Sourcepub fn row_order(&self) -> Vec<ChartFocus>
pub fn row_order(&self) -> Vec<ChartFocus>
The panel’s rows for the chart on screen, in Tab order. A dimmed shelf is left out: focus passes over it.
Sourcepub fn has_grid(&self) -> bool
pub fn has_grid(&self) -> bool
Whether the chart on screen has axes to draw a grid on: the heatmap’s cells and the bar chart’s rows have none.
Sourcepub fn set_mark(&mut self, mark: Mark)
pub fn set_mark(&mut self, mark: Mark)
Switch the chart type. The shelves carry over where the new type takes what they hold; a column it cannot take moves to where it can, or goes.
pub fn step_mark(&mut self, delta: i8)
Sourcepub fn picker_for(&self, focus: ChartFocus) -> Option<PickerFor>
pub fn picker_for(&self, focus: ChartFocus) -> Option<PickerFor>
Which picker the focused row opens, if it opens one.
Sourcepub fn picker_is_multi(&self, which: PickerFor) -> bool
pub fn picker_is_multi(&self, which: PickerFor) -> bool
Whether the focused row’s picker toggles several items.
Sourcepub fn open_picker(&mut self)
pub fn open_picker(&mut self)
Open the Picker for the focused row, cursor on the current choice. The value picker opens only once the chart has counted the values.
Sourcepub fn has_color_counts(&self) -> bool
pub fn has_color_counts(&self) -> bool
Whether the value picker has values to list: the chart has counted the Color column on screen.
Sourcepub fn step_picker_row(&mut self, delta: i8)
pub fn step_picker_row(&mut self, delta: i8)
←/→ on a pick-one column row: the next or previous column, chosen at once.
Sourcepub fn picker_choose(&mut self)
pub fn picker_choose(&mut self)
Enter in the Picker: a pick-one row takes the cursor’s item; a row of several keeps its toggles, or adopts the cursor’s item when none are toggled, so Enter on a fresh list still charts something. The Picker closes.
Sourcepub fn picker_toggle(&mut self)
pub fn picker_toggle(&mut self)
Space in a picker of several: flip the cursor’s item in or out, up to the palette’s colors.
Sourcepub fn is_marked(&self, i: usize) -> bool
pub fn is_marked(&self, i: usize) -> bool
Whether the item at i of the open picker is toggled on.
Sourcepub fn picker_multi(&self) -> bool
pub fn picker_multi(&self) -> bool
Whether the open picker toggles several items.
Sourcepub fn effective_spec(&self) -> ChartSpec
pub fn effective_spec(&self) -> ChartSpec
The spec to chart: the one chosen, with an open Picker’s cursor previewed on the Y shelf (and on X, except for a line or scatter, whose X re-reads everything).
Sourcepub fn step(&mut self, focus: ChartFocus, delta: i8)
pub fn step(&mut self, focus: ChartFocus, delta: i8)
←/→ (and Space, on a choice) on the focused row.
pub fn is_toggle_row(&self, focus: ChartFocus) -> bool
pub fn toggle_grid(&mut self)
pub fn adjust_kde_bandwidth_factor(&mut self, delta: f64)
Sourcepub fn adjust_number_row(&mut self, delta: i32)
pub fn adjust_number_row(&mut self, delta: i32)
+/-: step the focused number row.
Sourcepub fn rows_shown(&self) -> RowsDraft
pub fn rows_shown(&self) -> RowsDraft
What the Rows row shows: the pending change, or what the chart reads.
Sourcepub fn rows_pending(&self) -> bool
pub fn rows_pending(&self) -> bool
Whether the Rows row holds a change the chart has not read.
Sourcepub fn toggle_rows(&mut self)
pub fn toggle_rows(&mut self)
←/→ or Space on Rows: Sample or Every row, pending until Enter. A size being typed is taken first; one that cannot be read stays to be fixed.
Sourcepub fn type_rows(&mut self, c: char)
pub fn type_rows(&mut self, c: char)
A key typed on Rows: part of a sample size (50k). Typing chooses Sample.
Sourcepub fn typing_rows(&self) -> bool
pub fn typing_rows(&self) -> bool
Whether a size is being typed on Rows.
Sourcepub fn backspace_rows(&mut self)
pub fn backspace_rows(&mut self)
Backspace on Rows: one character of the typed size off.
Sourcepub fn discard_rows(&mut self)
pub fn discard_rows(&mut self)
Esc on Rows with a change pending: put back what the chart reads.
Sourcepub fn commit_rows(&mut self) -> bool
pub fn commit_rows(&mut self) -> bool
Enter on Rows: read what it says. False when a typed size cannot be read, which stays on the row with why.
Sourcepub fn leave_rows(&mut self)
pub fn leave_rows(&mut self)
Focus left the Rows row: what it says is read, and a size that cannot be is dropped.
Sourcepub fn is_complete(spec: &ChartSpec) -> bool
pub fn is_complete(spec: &ChartSpec) -> bool
Whether the spec names everything its chart needs.
pub fn can_export(&self) -> bool
Trait Implementations§
Source§impl Default for ChartModal
impl Default for ChartModal
Source§impl Form for ChartModal
impl Form for ChartModal
Source§type Field = ChartFocus
type Field = ChartFocus
Source§fn fields(&self) -> Vec<(ChartFocus, FieldKind)>
fn fields(&self) -> Vec<(ChartFocus, FieldKind)>
fn focused(&self) -> ChartFocus
Source§fn set_focused(&mut self, field: ChartFocus)
fn set_focused(&mut self, field: ChartFocus)
field. Called only with a field of Form::fields; a modal
that shows a text cursor in the focused field syncs it here.Source§fn text_edge(&self, _field: Self::Field) -> (bool, bool)
fn text_edge(&self, _field: Self::Field) -> (bool, bool)
Source§fn list_row(&self, _field: Self::Field) -> bool
fn list_row(&self, _field: Self::Field) -> bool
field is a row of a list (a sort, a filter, a column) rather than a
setting. A click on a list row only focuses it, so it can be picked to move or
remove without changing it; a click on it once focused acts. A setting (a
checkbox, a choice, a button) acts on the first click.Source§fn focused_kind(&self) -> Option<FieldKind>
fn focused_kind(&self) -> Option<FieldKind>
None when focus is on a field not shown.Source§fn focus(&mut self, field: Self::Field) -> bool
fn focus(&mut self, field: Self::Field) -> bool
field if the form shows it: a click on a row, or a modal moving
focus itself. Returns whether it did.Source§fn move_focus(&mut self, delta: isize)
fn move_focus(&mut self, delta: isize)
delta fields along, wrapping. A focus the form no longer shows
counts from the top.fn focus_next(&mut self)
fn focus_prev(&mut self)
Source§fn settle_focus(&mut self)
fn settle_focus(&mut self)
Auto Trait Implementations§
impl Freeze for ChartModal
impl RefUnwindSafe for ChartModal
impl Send for ChartModal
impl Sync for ChartModal
impl Unpin for ChartModal
impl UnsafeUnpin for ChartModal
impl UnwindSafe for ChartModal
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> 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<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