Type IMPL_T

type IMPL_T<A> = dlist::DList<A>

Function EACH

fn EACH<A>(self: &IMPL_T<A>, f: &fn(v: &A) -> bool)

Iterates through the current contents.

Attempts to access this dlist during iteration are allowed (to allow for e.g. breadth-first search with in-place enqueues), but removing the current node is forbidden.

Function SIZE_HINT

fn SIZE_HINT<A>(self: &IMPL_T<A>) -> Option<uint>