Get a mutable reference to a single element from the list.
(&'a mut self, index: usize, pool: &'a mut ListPool<T>)
| 343 | |
| 344 | /// Get a mutable reference to a single element from the list. |
| 345 | pub fn get_mut<'a>(&'a mut self, index: usize, pool: &'a mut ListPool<T>) -> Option<&'a mut T> { |
| 346 | self.as_mut_slice(pool).get_mut(index) |
| 347 | } |
| 348 | |
| 349 | /// Create a deep clone of the list, which does not alias the original list. |
| 350 | pub fn deep_clone(&self, pool: &mut ListPool<T>) -> Self { |
nothing calls this directly
no test coverage detected