pub trait AsSizedSlice<'a, const N: usize> {
type Entry: 'a;
type SliceRef: Deref<Target = [Self::Entry; N]>;
// Required method
fn as_sized_slice(&'a self) -> Self::SliceRef;
}Expand description
Can be converted to a slice
Required Associated Types§
Required Methods§
Sourcefn as_sized_slice(&'a self) -> Self::SliceRef
fn as_sized_slice(&'a self) -> Self::SliceRef
Convert to a slice