Trait std::iter::ExtendUnstable
[-]
[+]
[src]
pub trait Extend<A> {
fn extend<T: Iterator<A>>(&mut self, iterator: T);
}A type growable from an Iterator implementation
Required Methods
fn extend<T: Iterator<A>>(&mut self, iterator: T)
Extend a container with the elements yielded by an arbitrary iterator
Implementors
impl<K: Eq + Hash<S>, V, S, H: Hasher<S> + Default> Extend<(K, V)> for HashMap<K, V, H>impl<T: Eq + Hash<S>, S, H: Hasher<S> + Default> Extend<T> for HashSet<T, H>impl<K: Eq + Hash<S>, V, S, H: Hasher<S> + Default> Extend<(K, V)> for HashMap<K, V, H>impl<T: Eq + Hash<S>, S, H: Hasher<S> + Default> Extend<T> for HashSet<T, H>impl<T: Ord> Extend<T> for BinaryHeap<T>impl Extend<bool> for Bitvimpl Extend<uint> for BitvSetimpl<K: Ord, V> Extend<(K, V)> for BTreeMap<K, V>impl<T: Ord> Extend<T> for BTreeSet<T>impl<A> Extend<A> for DList<A>impl<E: CLike> Extend<E> for EnumSet<E>impl<A> Extend<A> for RingBuf<A>impl Extend<char> for Stringimpl<'a> Extend<&'a str> for Stringimpl<T> Extend<T> for Vec<T>impl<V> Extend<(uint, V)> for VecMap<V>