Struct tui_realm_stdlib::BarChartPropsBuilder[][src]

pub struct BarChartPropsBuilder { /* fields omitted */ }

Implementations

with_foreground

Set foreground color for component

with_background

Set background color for component

with_borders

Set component borders style

with_title

Set title

with_bar_gap

Define bar gap for chart

with_bar_style

Define bar style for chart

with_bar_width

Define bar width for chart

with_label_style

Define bar style for chart

with_max_bars

Define maximum amount of bars to be displayed

with_value_style

Define style for values

with_data

Define chart data

push_record_back

Just pushes a record to the back of the data

push_record_front

Just pushes a record to the front of the data

pop_record_back

Pop first record on the back of the data list

pop_record_front

Pop first record on the front of the data list

disabled

If component is set to disabled, then input commands won’t work, and colors will be rendered as if the component would have focus

Trait Implementations

Returns the “default value” for a type. Read more

Performs the conversion.

build Read more

hidden Read more

visible Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.