pub struct VecMap2D<V>(/* private fields */);Trait Implementations§
Source§impl<V: Clone + Default> Hashy<(usize, usize), V> for VecMap2D<V>
impl<V: Clone + Default> Hashy<(usize, usize), V> for VecMap2D<V>
fn valid_key(&self, (i, j): &(usize, usize)) -> bool
fn index(&self, (i, j): &(usize, usize)) -> &V
fn index_mut(&mut self, (i, j): &(usize, usize)) -> &mut V
fn ensure(&mut self, (i, j): (usize, usize))
fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = ((usize, usize), &'a V)> + 'a>
Auto Trait Implementations§
impl<V> Freeze for VecMap2D<V>
impl<V> RefUnwindSafe for VecMap2D<V>where
V: RefUnwindSafe,
impl<V> Send for VecMap2D<V>where
V: Send,
impl<V> Sync for VecMap2D<V>where
V: Sync,
impl<V> Unpin for VecMap2D<V>where
V: Unpin,
impl<V> UnwindSafe for VecMap2D<V>where
V: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more