pub fn pop(&mut self) -> Option<Item> {
        if self.arena.len() == 0 {
            None
        } else {
            unsafe {
                let item_ptr: *const Item =
                    self.arena.at(ArenaIndex(self.arena.len() - 1)) as *const Item;
                let item = Some(::std::ptr::read(item_ptr));
                self.arena.pop_away();
                item
            }
        }
    }
/// Remove and return the last item, if the vector wasn't empty
Remove and return the last item, if the vector wasn't empty
Remove and return the last item if the vector wasn ' t empty
pub fn pop(&mut self) -> Option<Item> {
        if self.arena.len() == 0 {
            None
        } else {
            unsafe {
                let item_ptr: *const Item =
                    self.arena.at(ArenaIndex(self.arena.len() - 1)) as *const Item;
                let item = Some(::std::ptr::read(item_ptr));
                self.arena.pop_away();
                item
            }
        }
    }
pub fn pop ( & mut self ) -> Option < Item > { if self . arena . len ( ) == 0 { None } else { unsafe { let item_ptr : * const Item = self . arena . at ( ArenaIndex ( self . arena . len ( ) - 1 ) ) as * const Item ; let item = Some ( :: std :: ptr :: read ( item_ptr ) ) ; self . arena . pop_away ( ) ; item } } }
Remove and return the last item, if the vector wasn't empty
Remove and return the last item if the vector wasn ' t empty
&mut self
&mut self