Struct linked_tail_list::Cursor [] [src]

pub struct Cursor<'node, T: 'node> { /* fields omitted */ }

A Cursor is an iterator over a node and it's tail. It is an active item, which owns the next node it would return.

Due to the design of rust's Iterator trait, Cursor cannot implement Iterator.

Methods

impl<'node, T: 'node> Cursor<'node, T>
[src]

(Optionally) returns the next element of this cursor.

This cursor is unusable as long as the 'tail lifetime is still referenced.

Trait Implementations

impl<'node, T: 'node> Drop for Cursor<'node, T>
[src]

A method called when the value goes out of scope. Read more