Struct one_stack_vec::OneStackVec [] [src]

pub struct OneStackVec<T>(_);

Methods

impl<T> OneStackVec<T>
[src]

Removes the last element from a vector and returns it, or None if it is empty.

Trait Implementations

impl<T: Clone> Clone for OneStackVec<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Debug for OneStackVec<T> where
    T: Debug
[src]

Formats the value using the given formatter.

impl<T> PartialEq for OneStackVec<T> where
    T: PartialEq
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T> Eq for OneStackVec<T> where
    T: Eq
[src]

impl<T> PartialOrd for OneStackVec<T> where
    T: PartialOrd<T>, 
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<T> Ord for OneStackVec<T> where
    T: Ord
[src]

This method returns an Ordering between self and other. Read more

impl<T> Serialize for OneStackVec<T> where
    T: Serialize
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de, T> Deserialize<'de> for OneStackVec<T> where
    T: Deserialize<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more