Struct lib::DoublyLinkedList
[−]
[src]
pub struct DoublyLinkedList<T> { // some fields omitted }
pub struct DoublyLinkedList<T> { // some fields omitted }
impl<'a, T> DoublyLinkedList<T>
fn new() -> DoublyLinkedList<T>
fn singleton(v: T) -> DoublyLinkedList<T>
fn len(&self) -> usize
fn is_empty(&self) -> bool
fn front_mut(&mut self) -> Option<&'a mut T>
fn front(&self) -> Option<&'a T>
fn back_mut(&mut self) -> Option<&'a mut T>
fn back(&self) -> Option<&'a T>
fn iter(&self) -> Iter<'a, T>
fn iter_mut(&self) -> IterMut<'a, T>
fn push_back(&mut self, val: T)
fn push_front(&mut self, val: T)
fn pop_back(&mut self) -> Option<T>
fn pop_front(&mut self) -> Option<T>
fn insert(&mut self, i: usize, val: T)
fn remove(&mut self, i: usize) -> T
fn append(&mut self, other: &mut DoublyLinkedList<T>)
impl<T> Index<usize> for DoublyLinkedList<T>
impl<T> IndexMut<usize> for DoublyLinkedList<T>
impl<T> Default for DoublyLinkedList<T>
fn default() -> DoublyLinkedList<T>
impl<T> FromIterator<T> for DoublyLinkedList<T>
fn from_iter<A>(iterator: A) -> Self where A: IntoIterator<Item=T>
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
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)