Trait async_iterator::prelude::Extend
source · pub trait Extend<A> {
// Required method
async fn extend<T>(&mut self, iter: T)
where T: IntoIterator<Item = A>;
}
Expand description
Extend a collection with the contents of an iterator.
Required Methods§
sourceasync fn extend<T>(&mut self, iter: T)where
T: IntoIterator<Item = A>,
async fn extend<T>(&mut self, iter: T)where T: IntoIterator<Item = A>,
Extends a collection with the contents of an iterator.