pub trait AsSlice {
type Key: Ord;
type Value;
// Required method
fn as_slice<'a>(&'a self) -> &'a [(Self::Key, Self::Value)];
}pub trait AsSlice {
type Key: Ord;
type Value;
// Required method
fn as_slice<'a>(&'a self) -> &'a [(Self::Key, Self::Value)];
}