Type Alias IterSizeHintFn

Source
pub type IterSizeHintFn = for<'iter> unsafe fn(PtrMut<'iter>) -> Option<(usize, Option<usize>)>;
Expand description

Return the lower and upper bounds of the iterator, if known.

ยงSafety

The iter parameter must point to aligned, initialized memory of the correct type.