pub trait Extend<A> {
    // Required method
    async fn extend<T: IntoIterator<Item = A>>(&mut self, iter: T);
}
Expand description

Extend a collection with the contents of an iterator.

Required Methods§

source

async fn extend<T: IntoIterator<Item = A>>(&mut self, iter: T)

Extends a collection with the contents of an iterator.

Implementations on Foreign Types§

source§

impl<T> Extend<T> for Vec<T>

source§

async fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)

Implementors§