Struct kaktus::Stack [] [src]

pub struct Stack<T> { /* fields omitted */ }

Methods

impl<T> Stack<T>
[src]

Empty stacks are represented by Option<Stack<T>>::None

impl<T> Stack<T> where
    T: Default
[src]

Trait Implementations

impl<T> PushPop<T> for Stack<T>
[src]

impl<T> Clone for Stack<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Deref for Stack<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T: Debug> Debug for Stack<T>
[src]

Formats the value using the given formatter.

impl<'a, T> IntoIterator for &'a Stack<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more