pub trait Slice<'a, E> { type Output: 'a; // Required method fn slice(&'a self, arg: E) -> Self::Output; }
Trait implemented by types which can be sliced
Type output after slicing
Get a slice from self