pub trait AsSlice { type Item: Soars; // Required method fn as_slice(&self) -> SliceRef<'_, Self::Item>; }
Similar to AsRef<Slice>, but returns a value type rather than an reference.
AsRef<Slice>
The type that the slice contains.
Returns a SliceRef containing the entire array.
SliceRef