Function unchecked_index::get_unchecked_mut [] [src]

pub unsafe fn get_unchecked_mut<T: ?Sized, I>(
    v: &mut T,
    index: I
) -> &mut T::Output where
    T: GetUncheckedMut<I>, 

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.