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

Implementations on Foreign Types

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Implementors