1 2 3 4 5 6 7
use super::{SearchableByOrder, SortOrder}; pub trait SortedInsert<O>: SearchableByOrder<O> where O: SortOrder<Self::Item> { fn insert(&mut self, Self::Item); }
1 2 3 4 5 6 7
use super::{SearchableByOrder, SortOrder}; pub trait SortedInsert<O>: SearchableByOrder<O> where O: SortOrder<Self::Item> { fn insert(&mut self, Self::Item); }