     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13

    pub mod map;
    mod node;
    mod search;
    pub mod set;

    #[doc(hidden)]
    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>;
    }