pub struct MutDListIterator<'self, T> { priv list: &'self mut DList<T>, priv head: Rawlink<Node<T>>, priv tail: Rawlink<Node<T>>, priv nelem: uint, }
Double-ended mutable DList iterator
impl<'self, A> std::iter::Iterator for MutDListIterator<'self, A>
fn next(&mut self) -> std::option::Option
fn size_hint(&self) -> (uint, std::option::Option)
impl<'self, A> std::iter::DoubleEndedIterator for MutDListIterator<'self, A>
fn next_back(&mut self) -> std::option::Option
impl<'self, A> std::iter::ExactSize for MutDListIterator<'self, A>
impl<'self, A> ListInsertion<A> for MutDListIterator<'self, A>
fn insert_next(&mut self, elt: A)
Insert elt
just after to the element most recently returned by .next()
The inserted element does not appear in the iteration.
fn peek_next<'a>(&'a mut self) -> std::option::Option
Provide a reference to the next element, without changing the iterator
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).