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: Ord
impl<'a, T> Extend<&'a T> for BinaryHeap<T> where T: Copy + 'a + Ord
impl<K, V> Extend<(K, V)> for BTreeMap<K, V> where K: Ord
impl<'a, K, V> Extend<(&'a K, &'a V)> for BTreeMap<K, V> where V: Copy, K: Copy + Ord
impl<T> Extend<T> for BTreeSet<T> where T: Ord
impl<'a, T> Extend<&'a T> for BTreeSet<T> where T: Copy + 'a + Ord
impl<E> Extend<E> for EnumSet<E> where E: CLike
impl<'a, E> Extend<&'a E> for EnumSet<E> where E: Copy + 'a + CLike
impl<A> Extend<A> for LinkedList<A>
impl<'a, T> Extend<&'a T> for LinkedList<T> where T: Copy + 'a
impl Extend<char> for String
impl<'a> Extend<&'a char> for String
impl<'a> Extend<&'a str> for String
impl<T> Extend<T> for Vec<T>
impl<'a, T> Extend<&'a T> for Vec<T> where T: Copy + 'a
impl<A> Extend<A> for VecDeque<A>
impl<'a, T> Extend<&'a T> for VecDeque<T> where T: Copy + 'a
impl<K, V, S> Extend<(K, V)> for HashMap<K, V, S> where K: Eq + Hash, S: HashState
impl<T, S> Extend<T> for HashSet<T, S> where T: Eq + Hash, S: HashState
impl<P: AsRef<Path>> Extend<P> for PathBuf