Crate quasi_iter

source ·

Modules§

Traits§

  • The trait UncheckedIterator is just Iterator but the return value is forced to be ‘Item’. This means that the iterator must be stopped before the iterator run. The trait itself is unsafe, because the safety of next_unchecked depends on trusted_len. Note that this trait may be deprecated after the trait std::iter::TrustedLen becomes stable.