Return a mutable slice containing all elements of the vector.
(&mut self)
| 318 | |
| 319 | /// Return a mutable slice containing all elements of the vector. |
| 320 | pub fn as_mut_slice(&mut self) -> &mut [T] { |
| 321 | self |
| 322 | } |
| 323 | |
| 324 | /// Return a raw pointer to the vector's buffer. |
| 325 | #[inline] |