pub fn with_capacity(num_objects: usize) -> Result<Self, Error> {
        if num_objects == 0 {
            return Err(Error::InvariantNonEmpty);
        }
        Ok(Tree {
            items: UnsafeCell::new(Vec::with_capacity(num_objects)),
            last_added_offset: 0,
            one_past_last_seen_root: 0,
            pack_entries_end: None,
        })
    }
/// Instantiate a empty tree capable of storing `num_objects` amounts of items.
Instantiate a empty tree capable of storing `num_objects` amounts of items.
Instantiate a empty tree capable of storing ` num_objects ` amounts of items .
pub fn with_capacity(num_objects: usize) -> Result<Self, Error> {
        if num_objects == 0 {
            return Err(Error::InvariantNonEmpty);
        }
        Ok(Tree {
            items: UnsafeCell::new(Vec::with_capacity(num_objects)),
            last_added_offset: 0,
            one_past_last_seen_root: 0,
            pack_entries_end: None,
        })
    }
pub fn with_capacity ( num_objects : usize ) -> Result < Self , Error > { if num_objects == 0 { return Err ( Error :: InvariantNonEmpty ) ; } Ok ( Tree { items : UnsafeCell :: new ( Vec :: with_capacity ( num_objects ) ) , last_added_offset : 0 , one_past_last_seen_root : 0 , pack_entries_end : None , } ) }
Instantiate a empty tree capable of storing `num_objects` amounts of items.
Instantiate a empty tree capable of storing ` num_objects ` amounts of items .
num_objects
usize