Enum redox::hashmap::LinkedList [] [src]

pub enum LinkedList<T: Clone> {
    Elem(T, Box<LinkedList<T>>),
    Nil,
}

An linked list (used for entries)

Variants

Elem
Nil

Methods

impl<T: Clone> LinkedList<T>

fn follow(&self) -> Option<&Self>

Follow

fn follow_mut(&mut self) -> Option<&mut Self>

Follow mutable

fn push(self, elem: T) -> Self

Push (consumes the list)

Trait Implementations

Derived Implementations

impl<T: Clone + Clone> Clone for LinkedList<T>

fn clone(&self) -> LinkedList<T>

fn clone_from(&mut self, source: &Self)