Function unchecked_index::get_unchecked [] [src]

pub unsafe fn get_unchecked<T: ?Sized, I>(v: &T, index: I) -> &T::Output where
    T: GetUnchecked<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.


The caller must ensure that index is in bounds of the underlying container.