Trait rev_slice::SliceExt[][src]

pub trait SliceExt {
    type Element;
    fn rev(&self) -> &RevSlice<Self::Element>;
fn rev_mut(&mut self) -> &mut RevSlice<Self::Element>; }

Adds .rev() and .rev_mut() methods to slices.

There's no reason to implement this yourself.

Associated Types

The element type of the slice

Required Methods

Get a proxy providing a reversed view of the slice.

Get a proxy providing a mutable reversed view of the mutable slice.

Implementors