Struct tui_realm_stdlib::CanvasPropsBuilder[][src]

pub struct CanvasPropsBuilder { /* fields omitted */ }

Implementations

with_background

Set background color for component

with_borders

Set component borders style

with_title

Set title

with_x_bounds

Define x axis bounds

with_y_bounds

Define y axis bounds

with_shapes

Sets (and eventually replace) shapes

with_new_canvas

Initialize a new canvas data

with_layer

Add a new layer to canvas

with_line

Add a new line to canvas

with_map

Add a map to canvas

with_points

Add points to canvas

with_rectangle

Add rectangle to canvas

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.