Trait prototty::View [] [src]

pub trait View<T: ?Sized> {
    fn view<G: ViewGrid>(
        &mut self,
        data: &T,
        offset: Coord,
        depth: i32,
        grid: &mut G
    ); }

Defines a method for rendering a T to the terminal.

Required Methods

Update the cells in grid to describe how a type should be rendered.

Implementors