Modules§
Traits§
- Unchecked
Iterator - The trait
UncheckedIteratoris justIteratorbut 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_uncheckeddepends ontrusted_len. Note that this trait may be deprecated after the traitstd::iter::TrustedLenbecomes stable.