Struct bern_kernel::mem::linked_list::Cursor[][src]

pub struct Cursor<'a, T, P> where
    P: PoolAllocator<Node<T>> + 'static, 
{ /* fields omitted */ }
Expand description

A cursor over a LinkedList with editing operations.

In contrast to an iterator a cursor can move from front to back and take an element out of the list.

Implementations

Get reference to value of node if there is any

Get mutable reference to value of node if there is any

Move cursor to the next node

Take the current node if there is one

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.