pub trait MapPos<Item, const W: u16, const H: u16, const WORDS: usize, const SIZE: usize> {
// Required methods
fn new(item: Item) -> Self;
fn get(&self, pos: &Pos<W, H>) -> &Item;
fn set(&mut self, pos: Pos<W, H>, item: Item);
}
Expand description
Required Methods§
Object Safety§
This trait is not object safe.