Returns a mutable reference to the value stored for the given axis
(&mut self, axis: &DirectedAxis)
| 382 | |
| 383 | /// Returns a mutable reference to the value stored for the given axis |
| 384 | pub fn get_mut(&mut self, axis: &DirectedAxis) -> &mut T { |
| 385 | &mut self.data[axis.to_usize()] |
| 386 | } |
| 387 | |
| 388 | /// Returns an iterator of all unique directed axes and references to the corresponding stored value |
| 389 | pub fn iter(&self) -> impl Iterator<Item = (&DirectedAxis, &T)> { |
no test coverage detected