1 | mod append; |
---|---|
2 | mod borrow; |
3 | mod dedup_sorted_iter; |
4 | mod fix; |
5 | pub mod map; |
6 | mod mem; |
7 | mod merge_iter; |
8 | mod navigate; |
9 | mod node; |
10 | mod remove; |
11 | mod search; |
12 | pub mod set; |
13 | mod set_val; |
14 | mod split; |
15 | |
16 | trait Recover<Q: ?Sized> { |
17 | type Key; |
18 | |
19 | fn get(&self, key: &Q) -> Option<&Self::Key>; |
20 | fn take(&mut self, key: &Q) -> Option<Self::Key>; |
21 | fn replace(&mut self, key: Self::Key) -> Option<Self::Key>; |
22 | } |
23 |