pub unsafe fn get_unchecked_mut<T, I>(v: &mut T, index: I) -> &mut T::Outputwhere
T: GetUncheckedMut<I> + ?Sized,
Expand description
Access the element(s) at index
, without bounds checks!
Note: Will use debug assertions to check that the index is actually valid. In release mode, debug assertions are off by default.
ยงSafety
The caller must ensure that index
is in bounds of the underlying
container.