Trait std::iter::Extend
[−]
[src]
pub trait Extend<A> {
fn extend<T>(&mut self, iterable: T) where T: IntoIterator<Item=A>;
}A type growable from an Iterator implementation
Required Methods
fn extend<T>(&mut self, iterable: T) where T: IntoIterator<Item=A>
Extends a container with the elements yielded by an arbitrary iterator
Implementors
impl<T> Extend<T> for BinaryHeap<T> where T: Ordimpl<'a, T> Extend<&'a T> for BinaryHeap<T> where T: Copy + 'a + Ordimpl<K, V> Extend<(K, V)> for BTreeMap<K, V> where K: Ordimpl<'a, K, V> Extend<(&'a K, &'a V)> for BTreeMap<K, V> where V: Copy, K: Copy + Ordimpl<T> Extend<T> for BTreeSet<T> where T: Ordimpl<'a, T> Extend<&'a T> for BTreeSet<T> where T: Copy + 'a + Ordimpl<E> Extend<E> for EnumSet<E> where E: CLikeimpl<'a, E> Extend<&'a E> for EnumSet<E> where E: Copy + 'a + CLikeimpl<A> Extend<A> for LinkedList<A>impl<'a, T> Extend<&'a T> for LinkedList<T> where T: Copy + 'aimpl Extend<char> for Stringimpl<'a> Extend<&'a char> for Stringimpl<'a> Extend<&'a str> for Stringimpl<T> Extend<T> for Vec<T>impl<'a, T> Extend<&'a T> for Vec<T> where T: Copy + 'aimpl<A> Extend<A> for VecDeque<A>impl<'a, T> Extend<&'a T> for VecDeque<T> where T: Copy + 'aimpl<K, V, S> Extend<(K, V)> for HashMap<K, V, S> where K: Eq + Hash, S: HashStateimpl<T, S> Extend<T> for HashSet<T, S> where T: Eq + Hash, S: HashStateimpl<P: AsRef<Path>> Extend<P> for PathBuf