Struct stack_graphs::arena::List [−][src]
#[repr(C)]pub struct List<T> { /* fields omitted */ }
Expand description
An arena-allocated singly-linked list.
Linked lists are often a poor choice because they aren’t very cache-friendly. However, this linked list implementation should be cache-friendly, since the individual cells are allocated out of an arena.
Implementations
Pushes a new element onto the front of this list.
Removes and returns the element at the front of this list. If the list is empty, returns
None.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for List<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for List<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more