Struct linked_tail_list::TailValRef [] [src]

pub struct TailValRef<'node, 'tail, T: 'node + 'tail> { /* fields omitted */ }

A TailValRef is an active item, which provides mutable access to a single node and its successors.

Methods

impl<'node, 'tail, T: 'node + 'tail> TailValRef<'node, 'tail, T>
[src]

Returns a reference to a ValRef to the first node owned by self, as well as a Cursor owning the rest of the nodes owned by self.

After both items have gone out of scope, this method may be called again.

Returns a ValRef to the first node owned by self, as well as aCursorowning the rest of the nodes owned byself`.

This method consumes self. The Cursor who returned this may be used again after the returned cursor has gone out of scope.

Turns self into a ValRef to the first node owned by self. The Cursor who returned this may be used again after this method has been called.

Inserts a new element before this element and returns a ValRef to the newly inserted element.

Inserts a new element after this element and returns a ValRef to the newly inserted element.

Removes this element from the list and returns it's value.

Trait Implementations

impl<'node, 'tail, T: 'node + 'tail> Deref for TailValRef<'node, 'tail, T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'node, 'tail, T: 'node + 'tail> DerefMut for TailValRef<'node, 'tail, T>
[src]

The method called to mutably dereference a value