SinglyListSlice

Type Alias SinglyListSlice 

Source
pub type SinglyListSlice<'a, T> = ListSlice<'a, Singly<T>, MemoryReclaimOnThreshold<2, Singly<T>, Singly<T>::Reclaimer>>;
Expand description

A slice of a singly linked list with default memory reclaim policy:

  • nodes hold a reference to the next element, but not to the previous;
  • memory of removed nodes are automatically reclaimed when utilization falls below 75%.

Importantly note that methods of the the following traits are also available:

Aliased Typeยง

pub struct SinglyListSlice<'a, T> { /* private fields */ }