pub fn remove(&mut self, interval_start: usize) -> Option<usize> {
        if let Some(root) = self.root.take() {
            let (root, result) = Self::remove_helper(root, interval_start);
            self.root = root;
            result
        } else {
            None
        }
    }
/// Remove the interval starting with `interval_start`. Returns length if removed, false otherwise.
Remove the interval starting with `interval_start`. Returns length if removed, false otherwise.
Remove the interval starting with ` interval_start ` . Returns length if removed false otherwise .
pub fn remove(&mut self, interval_start: usize) -> Option<usize> {
        if let Some(root) = self.root.take() {
            let (root, result) = Self::remove_helper(root, interval_start);
            self.root = root;
            result
        } else {
            None
        }
    }
pub fn remove ( & mut self , interval_start : usize ) -> Option < usize > { if let Some ( root ) = self . root . take ( ) { let ( root , result ) = Self :: remove_helper ( root , interval_start ) ; self . root = root ; result } else { None } }
Remove the interval starting with `interval_start`.
Remove the interval starting with ` interval_start ` .
&mut self
interval_start
usize
&mut self
interval_start
usize