Trait push_trait::append::AppendFront [] [src]

pub trait AppendFront: AppendBack {
    fn append_front(&mut self, val: &mut Self) { ... }
}

A trait for moving data from one collection onto the front of another without freeing resources.

This trait is the PushFront analogue of Append.

Provided Methods

Moves data out of val and onto the front of this collection.

Invoking this method should make val empty without freeing any resources.

Implementors