]> git.lizzy.rs Git - rust.git/blob - library/alloc/src/collections/btree/mod.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / library / alloc / src / collections / btree / mod.rs
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 #[doc(hidden)]
17 trait Recover<Q: ?Sized> {
18     type Key;
19
20     fn get(&self, key: &Q) -> Option<&Self::Key>;
21     fn take(&mut self, key: &Q) -> Option<Self::Key>;
22     fn replace(&mut self, key: Self::Key) -> Option<Self::Key>;
23 }