unchecked_index

Trait GetUncheckedMut

Source
pub trait GetUncheckedMut<I>: GetUnchecked<I> {
    // Required method
    unsafe fn get_unchecked_mut(&mut self, index: I) -> &mut Self::Output;
}

Required Methods§

Source

unsafe fn get_unchecked_mut(&mut self, index: I) -> &mut Self::Output

Implementations on Foreign Types§

Source§

impl<'a, T, I> GetUncheckedMut<I> for &'a mut T
where T: GetUncheckedMut<I> + ?Sized,

Source§

unsafe fn get_unchecked_mut(&mut self, index: I) -> &mut Self::Output

Source§

impl<T> GetUncheckedMut<usize> for [T]

Source§

unsafe fn get_unchecked_mut(&mut self, index: usize) -> &mut Self::Output

Source§

impl<T> GetUncheckedMut<Range<usize>> for [T]

Source§

unsafe fn get_unchecked_mut(&mut self, index: Range<usize>) -> &mut Self::Output

Source§

impl<T> GetUncheckedMut<RangeFrom<usize>> for [T]

Source§

unsafe fn get_unchecked_mut( &mut self, index: RangeFrom<usize>, ) -> &mut Self::Output

Source§

impl<T> GetUncheckedMut<RangeFull> for [T]

Source§

unsafe fn get_unchecked_mut(&mut self, index: RangeFull) -> &mut Self::Output

Source§

impl<T> GetUncheckedMut<RangeTo<usize>> for [T]

Source§

unsafe fn get_unchecked_mut( &mut self, index: RangeTo<usize>, ) -> &mut Self::Output

Implementors§