[][src]Trait gridly::grid::BaseGrid

pub trait BaseGrid: GridBoundsExt {
    type Item;
    unsafe fn get_unchecked(&self, loc: &Location) -> &Self::Item;
}

Associated Types

type Item

Loading content...

Required methods

unsafe fn get_unchecked(&self, loc: &Location) -> &Self::Item

Get a reference to a cell, without doing bounds checking. Implementors of this method are allowed to assume that bounds checking has already been performed on the location.

Loading content...

Implementations on Foreign Types

impl<'a, G: BaseGrid> BaseGrid for &'a G[src]

type Item = G::Item

impl<'a, G: BaseGrid> BaseGrid for &'a mut G[src]

type Item = G::Item

Loading content...

Implementors

impl<G: BaseGrid> BaseGrid for Transpose<G>[src]

type Item = G::Item

Loading content...