pub trait AsSlice<T>: AsRawSlice<T> { // Required method fn as_slice(&self) -> &[T]; }
A type that can be represented as a contagious slice.
Returns the slice.