stdx::thin_vec

Trait TrustedLen

source
pub unsafe trait TrustedLen: ExactSizeIterator { }
Expand description

§Safety

The length reported must be exactly the number of items yielded.

Implementations on Foreign Types§

source§

impl<'a, T: Clone + 'a, I: TrustedLen<Item = &'a T>> TrustedLen for Cloned<I>

source§

impl<T> TrustedLen for Drain<'_, T>

source§

impl<T> TrustedLen for IntoIter<T>

source§

impl<T> TrustedLen for Iter<'_, T>

source§

impl<T, I: TrustedLen, F: FnMut(I::Item) -> T> TrustedLen for Map<I, F>

source§

impl<T, const N: usize> TrustedLen for IntoIter<T, N>

Implementors§