Trait gridsim::GetNeighbors [−][src]
pub trait GetNeighbors<'a, Idx, Neighbors> { fn get_neighbors(&'a self, index: Idx) -> Neighbors; }
Required Methods
fn get_neighbors(&'a self, index: Idx) -> Neighbors
Implementors
impl<'a, C, S> GetNeighbors<'a, usize, Neighbors<&'a C>> for SquareGrid<'a, S> where
S: Sim<'a, Cell = C>,impl<'a, C, S> GetNeighbors<'a, usize, Neighbors<&'a C>> for SquareGrid<'a, S> where
S: Sim<'a, Cell = C>,