(&self, index: I)
| 42 | } |
| 43 | |
| 44 | pub fn get<I>(&self, index: I) -> Option<&<I as SliceIndex<[T]>>::Output> |
| 45 | where |
| 46 | I: SliceIndex<[T]>, |
| 47 | { |
| 48 | self.vec.get(index) |
| 49 | } |
| 50 | |
| 51 | /// Gets a reference to the underlying vector. |
| 52 | pub fn get_values(&self) -> &[T] { |
no outgoing calls
no test coverage detected