Struct tuirealm::tui::widgets::canvas::Context[][src]

pub struct Context<'a> { /* fields omitted */ }
Expand description

Holds the state of the Canvas when painting to it.

Implementations

Draw any object that may implement the Shape trait

Go one layer above in the canvas.

Print a string on the canvas at the given position

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

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.