Trait two_sided_vec::prelude::TwoSidedExtend
[−]
[src]
pub trait TwoSidedExtend<T> { fn extend_back<I: IntoIterator<Item = T>>(&mut self, iter: I); fn extend_front<I: IntoIterator<Item = T>>(&mut self, iter: I); }
The two-sided counterpart to Extend
,
which supports extending both the front and back of the
Required Methods
fn extend_back<I: IntoIterator<Item = T>>(&mut self, iter: I)
fn extend_front<I: IntoIterator<Item = T>>(&mut self, iter: I)
Implementors
impl<T> TwoSidedExtend<T> for TwoSidedVec<T>
impl<'a, T: Copy + 'a> TwoSidedExtend<&'a T> for TwoSidedVec<T>