[][src]Trait shadowcast::InputGrid

pub trait InputGrid {
    type Grid;
    type Opacity;
    fn size(&self, grid: &Self::Grid) -> Size;
fn get_opacity(&self, grid: &Self::Grid, coord: Coord) -> Self::Opacity; }

Associated Types

type Grid

type Opacity

Loading content...

Required methods

fn size(&self, grid: &Self::Grid) -> Size

fn get_opacity(&self, grid: &Self::Grid, coord: Coord) -> Self::Opacity

Loading content...

Implementors

Loading content...