SinglyListSliceLazy

Type Alias SinglyListSliceLazy 

Source
pub type SinglyListSliceLazy<'a, T> = ListSlice<'a, Singly<T>, MemoryReclaimNever>;
Expand description

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

  • nodes hold a reference to the next element, but not to the previous;
  • memory of removed nodes are never reclaimed implicitly, the caller can explicitly reclaim by calling reclaim_closed_nodes,
    • this guarantees that indices will never be invalidated implicitly.

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

Aliased Typeยง

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