pub trait GetMut<'a, L> {
type Item;
fn get_mut(&'a mut self, location: L) -> Self::Item;
}
Get a mutable reference to the value at location
.
impl<'a, Coord, A, B> GetMut<'a, Coord> for (A, B) where
Coord: Copy,
A: GetMut<'a, Coord>,
B: GetMut<'a, Coord>,
impl<'a, Coord, A, B, C> GetMut<'a, Coord> for (A, B, C) where
Coord: Copy,
A: GetMut<'a, Coord>,
B: GetMut<'a, Coord>,
C: GetMut<'a, Coord>,
impl<'a, Coord, A, B, C, D> GetMut<'a, Coord> for (A, B, C, D) where
Coord: Copy,
A: GetMut<'a, Coord>,
B: GetMut<'a, Coord>,
C: GetMut<'a, Coord>,
D: GetMut<'a, Coord>,
impl<'a, Coord, A, B, C, D, E> GetMut<'a, Coord> for (A, B, C, D, E) where
Coord: Copy,
A: GetMut<'a, Coord>,
B: GetMut<'a, Coord>,
C: GetMut<'a, Coord>,
D: GetMut<'a, Coord>,
E: GetMut<'a, Coord>,
impl<'a, Coord, A, B, C, D, E, F> GetMut<'a, Coord> for (A, B, C, D, E, F) where
Coord: Copy,
A: GetMut<'a, Coord>,
B: GetMut<'a, Coord>,
C: GetMut<'a, Coord>,
D: GetMut<'a, Coord>,
E: GetMut<'a, Coord>,
F: GetMut<'a, Coord>,