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.
Provided Methods
fn append_front(&mut self, val: &mut Self)
Moves data out of val
and onto the front of this collection.
Invoking this method should make val
empty without freeing any resources.
Implementors
impl<T> AppendFront for LinkedList<T>
impl AppendFront for String
impl<T> AppendFront for Vec<T>
impl<T> AppendFront for VecDeque<T>
impl AppendFront for OsString