Struct collected::Noop [−][src]
pub struct Noop<T> { /* fields omitted */ }
Expand description
A collection doing nothing when collected or extended from an iterator.
By collecting/extending an iterator into Noop
, each item is consumed and dropped.
Trait Implementations
Extends a collection with the contents of an iterator. Read more
🔬 This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
🔬 This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Creates a value from an iterator. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Noop<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Noop<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more