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

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

Holds the state of the Canvas when painting to it.

Methods

impl<'a> Context<'a>
[src]

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

Auto Trait Implementations

impl<'a> Send for Context<'a>

impl<'a> Sync for Context<'a>