Struct tui_realm_stdlib::TablePropsBuilder[][src]

pub struct TablePropsBuilder { /* fields omitted */ }

Implementations

with_foreground

Set foreground color for area

with_background

Set background color for area

with_highlighted_color

Set color for highlighted entry

with_borders

Set component borders style

bold

Set bold property for component

italic

Set italic property for component

underlined

Set underlined property for component

Set slow_blink property for component

Set rapid_blink property for component

reversed

Set reversed property for component

strikethrough

Set strikethrough property for component

with_table

Set table content You can define a title if you want. The title will be displayed on the upper border of the box

with_title

Set title

with_header

Set header for table

with_widths

Set widths in percentage for table columns. Panics if amount of columns doesn’t match the amount of columns in table

with_row_height

Set row height

with_col_spacing

Set column spacing

with_highlighted_str

Display a symbol to highlighted line in scroll table

with_max_scroll_step

Defines the max step for PAGEUP/PAGEDOWN keys

scrollable

Sets whether the list is scrollable

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.