Returns the length of the wrapped slice
(&self)
| 44 | |
| 45 | /// Returns the length of the wrapped slice |
| 46 | pub fn len(&self) -> usize { |
| 47 | self.slice.len() |
| 48 | } |
| 49 | |
| 50 | /// Returns a mutable reference to an element of the wrapped slice without doing bounds checking, simultaneous access has to be disjoint! |
| 51 | /// SAFETY: It is unsound to obtain two mutable references to the same index. |
no outgoing calls
no test coverage detected