unsafe trait SpecTrustedRandomAccess: Iterator {
// Required method
unsafe fn try_get_unchecked(&mut self, index: usize) -> Self::Item;
}
Required Methods§
sourceunsafe fn try_get_unchecked(&mut self, index: usize) -> Self::Item
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)
.