[][src]Trait prototty_render::ViewGrid

pub trait ViewGrid {
    fn set_cell_absolute(
        &mut self,
        absolute_coord: Coord,
        absolute_depth: i32,
        absolute_cell: ViewCell
    );
fn size(&self) -> Size; fn set_cell_relative<R: ViewTransformRgb24>(
        &mut self,
        relative_coord: Coord,
        relative_depth: i32,
        relative_cell: ViewCell,
        context: ViewContext<R>
    ) { ... } }

A grid of cells

Required methods

fn set_cell_absolute(
    &mut self,
    absolute_coord: Coord,
    absolute_depth: i32,
    absolute_cell: ViewCell
)

fn size(&self) -> Size

Loading content...

Provided methods

fn set_cell_relative<R: ViewTransformRgb24>(
    &mut self,
    relative_coord: Coord,
    relative_depth: i32,
    relative_cell: ViewCell,
    context: ViewContext<R>
)

Loading content...

Implementors

Loading content...