pub trait Slice<R> {
    fn slice(&self, range: R) -> Self;
Available on crate feature mtls only.
Expand description

Slicing operations using ranges.

This trait is loosely based on Index, but can actually return something else than a &[T] or &str

Required Methods

Slices self according to the range argument

Implementations on Foreign Types