pub fn pop(&mut self) -> Option<T> {
        if self.indices.len() > 1 {
            let l = self.indices[self.indices.len() - 2];
            let data = self.data.split_off(l);
            self.indices.pop();
            Some(data)
        } else {
            None
        }
    }
/// Removes the last element from a `Nested` and returns it, or None if it is empty.
Removes the last element from a `Nested` and returns it, or None if it is empty.
Removes the last element from a ` Nested ` and returns it or None if it is empty .
pub fn pop(&mut self) -> Option<T> {
        if self.indices.len() > 1 {
            let l = self.indices[self.indices.len() - 2];
            let data = self.data.split_off(l);
            self.indices.pop();
            Some(data)
        } else {
            None
        }
    }
pub fn pop ( & mut self ) -> Option < T > { if self . indices . len ( ) > 1 { let l = self . indices [ self . indices . len ( ) - 2 ] ; let data = self . data . split_off ( l ) ; self . indices . pop ( ) ; Some ( data ) } else { None } }
Removes the last element from a `Nested` and returns it, or None if it is empty.
Removes the last element from a ` Nested ` and returns it or None if it is empty .
&mut self
&mut self