Trait unchecked_index::GetUnchecked
[−]
[src]
pub trait GetUnchecked<I>: CheckIndex<I> { type Output: ?Sized; unsafe fn get_unchecked(&self, index: I) -> &Self::Output; }
Associated Types
Required Methods
unsafe fn get_unchecked(&self, index: I) -> &Self::Output
Implementations on Foreign Types
impl<T> GetUnchecked<usize> for [T]
[src]
type Output = T
unsafe fn get_unchecked(&self, index: usize) -> &Self::Output
[src]
impl<'a, T: ?Sized, I> GetUnchecked<I> for &'a T where
T: GetUnchecked<I>,
[src]
T: GetUnchecked<I>,
type Output = T::Output
unsafe fn get_unchecked(&self, index: I) -> &Self::Output
[src]
impl<'a, T: ?Sized, I> GetUnchecked<I> for &'a mut T where
T: GetUnchecked<I>,
[src]
T: GetUnchecked<I>,