[][src]Trait alloc_wg::iter::IteratorExt

pub trait IteratorExt: Iterator + Sized {
#[must_use =
  "if you really need to exhaust the iterator, consider `.for_each(drop)` instead"]    fn collect_in<T: FromIteratorIn<Self::Item, A>, A: AllocRef>(
        self,
        allocator: A
    ) -> T { ... }
#[must_use = "if you really need to exhaust the iterator, consider `.for_each(drop)` instead"] fn try_collect_in<T: FromIteratorIn<Self::Item, A>, A: AllocRef>(
        self,
        allocator: A
    ) -> Result<T, TryReserveError> { ... } }

Provided methods

#[must_use = "if you really need to exhaust the iterator, consider `.for_each(drop)` instead"]fn collect_in<T: FromIteratorIn<Self::Item, A>, A: AllocRef>(
    self,
    allocator: A
) -> T

#[must_use = "if you really need to exhaust the iterator, consider `.for_each(drop)` instead"]fn try_collect_in<T: FromIteratorIn<Self::Item, A>, A: AllocRef>(
    self,
    allocator: A
) -> Result<T, TryReserveError>

Loading content...

Implementors

impl<T> IteratorExt for T where
    T: Iterator
[src]

Loading content...