Crate quasi_iter
source ·Modules§
Traits§
- The trait
UncheckedIterator
is justIterator
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 ofnext_unchecked
depends ontrusted_len
. Note that this trait may be deprecated after the traitstd::iter::TrustedLen
becomes stable.