pub trait AsSlice {
type Element;
// Required method
fn as_slice(&self) -> &[Self::Element];
}
Expand description
Something that can be seen as an immutable slice
pub trait AsSlice {
type Element;
// Required method
fn as_slice(&self) -> &[Self::Element];
}
Something that can be seen as an immutable slice