pub fn split_off(&mut self, key: &K) -> Self {
        let at = self.keys.binary_search(key).unwrap_or_else(|at| at);
        Self {
            keys: self.keys.split_off(at),
            values: self.values.split_off(at),
        }
    }
/// Splits the collection into two at the given key. Returns everything
/// after the given key, including the key if present.
Splits the collection into two at the given key. Returns everything
after the given key, including the key if present.
Splits the collection into two at the given key . Returns everything after the given key including the key if present .
pub fn split_off(&mut self, key: &K) -> Self {
        let at = self.keys.binary_search(key).unwrap_or_else(|at| at);
        Self {
            keys: self.keys.split_off(at),
            values: self.values.split_off(at),
        }
    }
pub fn split_off ( & mut self , key : & K ) -> Self { let at = self . keys . binary_search ( key ) . unwrap_or_else ( | at | at ) ; Self { keys : self . keys . split_off ( at ) , values : self . values . split_off ( at ) , } }
Splits the collection into two at the given key.
Splits the collection into two at the given key .
&mut self
key
&K
&mut self
key
&K