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

type Output: ?Sized[src]

Loading content...

Required methods

unsafe fn get_unchecked(&self, index: I) -> &Self::Output[src]

Loading content...

Implementors

impl<'a, T: ?Sized, I> GetUnchecked<I> for &'a T where
    T: GetUnchecked<I>, 
[src]

type Output = T::Output

impl<'a, T: ?Sized, I> GetUnchecked<I> for &'a mut T where
    T: GetUnchecked<I>, 
[src]

type Output = T::Output

impl<T> GetUnchecked<Range<usize>> for [T][src]

type Output = <[T] as Index<Range<usize>>>::Output

impl<T> GetUnchecked<RangeFrom<usize>> for [T][src]

type Output = <[T] as Index<RangeFrom<usize>>>::Output

impl<T> GetUnchecked<RangeFull> for [T][src]

type Output = <[T] as Index<RangeFull>>::Output

impl<T> GetUnchecked<RangeTo<usize>> for [T][src]

type Output = <[T] as Index<RangeTo<usize>>>::Output

impl<T> GetUnchecked<usize> for [T][src]

type Output = <[T] as Index<usize>>::Output

Loading content...