[−][src]Trait dispose::DisposeIteratorWith
A helper trait for iterators with items implementing DisposeWith
.
This trait exists for a reason similar to DisposeIterator
— namely, that implementing
DisposeWith
for IntoIterator
causes conflicts with other implementations. More info can be
found in the documentation for DisposeIterator
.
Required methods
fn dispose_iter_with(self, with: W)
Dispose all items in the iterator using the provided value, consuming both.
Implementors
impl<W: Copy, I: IntoIterator> DisposeIteratorWith<W> for I where
I::Item: DisposeWith<W>,
[src]
I::Item: DisposeWith<W>,
fn dispose_iter_with(self, with: W)
[src]
Dispose all items in the iterator, using copies of the provided value.