]> git.lizzy.rs Git - rust.git/blob - library/alloc/src/collections/btree/mod.rs
Rollup merge of #95011 - michaelwoerister:awaitee_field, r=tmandry
[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 split;
14
15 #[doc(hidden)]
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
24 #[cfg(test)]
25 mod testing;