Slice

Trait Slice 

Source
pub trait Slice:
    Slice
    + AsSlice
    + Pointee<Metadata = usize>
    + IndexMut<usize, Output = <[Self::Elem] as Index<usize>>::Output, Output = <[Self::Elem] as Index<Range<usize>>>::Output, Output = <[Self::Elem] as Index<RangeInclusive<usize>>>::Output, Output = <[Self::Elem] as Index<RangeFrom<usize>>>::Output, Output = <[Self::Elem] as Index<RangeTo<usize>>>::Output, Output = <[Self::Elem] as Index<RangeToInclusive<usize>>>::Output, Output = <[Self::Elem] as Index<RangeFull>>::Output>
    + IndexMut<Range<usize>>
    + IndexMut<RangeInclusive<usize>>
    + IndexMut<RangeFrom<usize>>
    + IndexMut<RangeTo<usize>>
    + IndexMut<RangeToInclusive<usize>>
    + IndexMut<RangeFull> { }
Expand description

A trait for a slice [Self::Elem]

Implementations on Foreign Types§

Source§

impl<T> Slice for [T]

Implementors§