pub trait GetSaferUnchecked<T> {
    unsafe fn get_unchecked_release<I>(
        &self,
        index: I
    ) -> &<I as SliceIndex<[T]>>::Output
    where
        I: SliceIndex<[T]>
; unsafe fn get_unchecked_release_mut<I>(
        &mut self,
        index: I
    ) -> &mut <I as SliceIndex<[T]>>::Output
    where
        I: SliceIndex<[T]>
; }

Required Methods§

Safety

Calling this method with an out-of-bounds index is [undefined behavior] even if the resulting reference is not used.

Safety

Calling this method with an out-of-bounds index is [undefined behavior] even if the resulting reference is not used.

Implementations on Foreign Types§

Implementors§