pub fn split(&mut self, key: SliceData, value: &X, aug: &Y) -> Result<bool> {
        let mut cursor = self.data.clone();
        if Self::internal_split(&mut cursor, key, value, aug)? {
            self.data = cursor;
            self.extra.calc(aug)?;
            Ok(true)
        } else {
            Ok(false)
        }
    }
/// Splits item by key old item will be left
Splits item by key old item will be left
Splits item by key old item will be left
pub fn split(&mut self, key: SliceData, value: &X, aug: &Y) -> Result<bool> {
        let mut cursor = self.data.clone();
        if Self::internal_split(&mut cursor, key, value, aug)? {
            self.data = cursor;
            self.extra.calc(aug)?;
            Ok(true)
        } else {
            Ok(false)
        }
    }
pub fn split ( & mut self , key : SliceData , value : & X , aug : & Y ) -> Result < bool > { let mut cursor = self . data . clone ( ) ; if Self :: internal_split ( & mut cursor , key , value , aug ) ? { self . data = cursor ; self . extra . calc ( aug ) ? ; Ok ( true ) } else { Ok ( false ) } }
Splits item by key old item will be left
Splits item by key old item will be left
&mut self
key
SliceData
value
&X
aug
&Y
&mut self
key
SliceData
value
&X
aug
&Y