1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! Unordered containers, implemented as hash-tables mod bench; mod table; pub mod map; pub mod set; trait Recover<Q: ?Sized> { type Key; fn get(&self, key: &Q) -> Option<&Self::Key>; fn take(&mut self, key: &Q) -> Option<Self::Key>; fn replace(&mut self, key: Self::Key) -> Option<Self::Key>; }