Returns a reference to the value stored for the given axis
(&self, axis: &DirectedAxis)
| 377 | |
| 378 | /// Returns a reference to the value stored for the given axis |
| 379 | pub fn get(&self, axis: &DirectedAxis) -> &T { |
| 380 | &self.data[axis.to_usize()] |
| 381 | } |
| 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 { |
no test coverage detected