pub trait Slice<'a, E> {
    type Output: 'a;

    fn slice(&'a self, arg: E) -> Self::Output;
}
Expand description

Trait implemented by types which can be sliced

Required Associated Types

Type output after slicing

Required Methods

Get a slice from self

Implementors