[−]Trait prototty_wasm::prototty_render::View
Defines a method for rendering a T
to the terminal.
Required methods
fn view<G>(&mut self, data: &T, offset: Coord, depth: i32, grid: &mut G) where
G: ViewGrid,
G: ViewGrid,
Update the cells in grid
to describe how a type should be rendered.
This mutably borrows self
to allow the view to contain buffers/caches which
are updated during rendering.