unsafe trait SpecTrustedRandomAccess: Iterator {
    // Required method
    unsafe fn try_get_unchecked(&mut self, index: usize) -> Self::Item;
}

Required Methods§

source

unsafe fn try_get_unchecked(&mut self, index: usize) -> Self::Item

If Self: TrustedRandomAccess, it must be safe to call Iterator::__iterator_get_unchecked(self, index).

Implementors§