fn insert_empty(&mut self, value: EntryData) -> Index<EntryData> {
        let generation = self.generation;
        let index = self.insert_new(value, None, None);
        self.set_head(index);
        self.set_tail(index);
        Index::new(index, generation)
    }
/// Inserts the given value into the list with the assumption that it is currently empty.
///
/// # Panics
///
/// Panics if the new capacity overflows `usize`.
Inserts the given value into the list with the assumption that it is currently empty.
Inserts the given value into the list with the assumption that it is currently empty .
fn insert_empty(&mut self, value: EntryData) -> Index<EntryData> {
        let generation = self.generation;
        let index = self.insert_new(value, None, None);
        self.set_head(index);
        self.set_tail(index);
        Index::new(index, generation)
    }
fn insert_empty ( & mut self , value : EntryData ) -> Index < EntryData > { let generation = self . generation ; let index = self . insert_new ( value , None , None ) ; self . set_head ( index ) ; self . set_tail ( index ) ; Index :: new ( index , generation ) }
Inserts the given value into the list with the assumption that it is currently empty.
Inserts the given value into the list with the assumption that it is currently empty .
&mut self
value
EntryData
&mut self
value
EntryData
panics
Panics if the new capacity overflows `usize`.
Panics if the new capacity overflows ` usize ` .