[]Trait prototty_wasm::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>(
        &mut self,
        relative_coord: Coord,
        relative_depth: i32,
        relative_cell: ViewCell,
        context: ViewContext<R>
    )
    where
        R: ViewTransformRgb24
, { ... } }

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>(
    &mut self,
    relative_coord: Coord,
    relative_depth: i32,
    relative_cell: ViewCell,
    context: ViewContext<R>
) where
    R: ViewTransformRgb24

Loading content...

Implementors

impl ViewGrid for JsGrid[src]

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

Loading content...