Struct tui_realm_stdlib::List[][src]

pub struct List { /* fields omitted */ }
Expand description

List

represents a read-only text component without any container.

Implementations

new

Instantiates a new Table component.

Trait Implementations

render

Based on the current properties and states, renders a widget using the provided render engine in the provided Area If focused, cursor is also set (if supported by widget)

update

Update component properties Properties should first be retrieved through get_props which creates a builder from existing properties and then edited before calling update. Returns a Msg to the view

get_props

Returns a copy of the component properties.

on

Handle input event and update internal states. Returns a Msg to the view.

get_state

Get current state from component For this component returns None if not scrollable, otherwise returns the index of the list

blur

Blur component

active

Active component

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.