Return a slice containing all elements of the vector.
(&self)
| 313 | |
| 314 | /// Return a slice containing all elements of the vector. |
| 315 | pub fn as_slice(&self) -> &[T] { |
| 316 | self |
| 317 | } |
| 318 | |
| 319 | /// Return a mutable slice containing all elements of the vector. |
| 320 | pub fn as_mut_slice(&mut self) -> &mut [T] { |
no outgoing calls
no test coverage detected