Trait std::iter::Extendable[src]
pub trait Extendable<A>: FromIterator<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 iterator
Implementors
impl<K: Eq + Hash<S>, V, S, H: Hasher<S> + Default> Extendable<(K, V)> for HashMap<K, V, H>impl<T: Eq + Hash<S>, S, H: Hasher<S> + Default> Extendable<T> for HashSet<T, H>impl<A> Extendable<A> for DList<A>impl<T: Ord> Extendable<T> for PriorityQueue<T>impl<A> Extendable<A> for RingBuf<A>impl<K: Ord, V> Extendable<(K, V)> for TreeMap<K, V>impl<T: Ord> Extendable<T> for TreeSet<T>impl<T> Extendable<(uint, T)> for TrieMap<T>impl Extendable<uint> for TrieSetimpl Extendable<char> for Stringimpl<T> Extendable<T> for Vec<T>