Trait push_trait::append::AppendBack
[−]
[src]
pub trait AppendBack: Append { fn append_back(&mut self, val: &mut Self) { ... } }
A trait for moving data from one collection onto the back of another without freeing resources.
Provided Methods
fn append_back(&mut self, val: &mut Self)
Moves data out of val
and onto the back of this collection.
Invoking this method should make val
empty without freeing any resources.
Implementors
impl<T> AppendBack for LinkedList<T>
impl AppendBack for String
impl<T> AppendBack for Vec<T>
impl<T> AppendBack for VecDeque<T>
impl AppendBack for OsString