pub trait AsSlice<T> { // Required method fn as_slice(&self) -> &[T]; }
Represents a type that can be referenced as a slice.
Returns a reference to the underlying slice.