Trait polars_arrow::trusted_len::TrustedLen [−][src]
pub unsafe trait TrustedLen: Iterator { }
Expand description
An iterator of known, fixed size.
A trait denoting Rusts’ unstable TrustedLen.
This is re-defined here and implemented for some iterators until std::iter::TrustedLen
is stabilized.
*Implementation from Jorge Leitao on Arrow2
Safety
length of the iterator must be correct