Trait polars_core::utils::CustomIterTools
source · [−]pub trait CustomIterTools: Iterator {
fn fold_first_<F>(self, f: F) -> Option<Self::Item>
where
F: FnMut(Self::Item, Self::Item) -> Self::Item,
{ ... }
unsafe fn trust_my_length(
self,
length: usize
) -> TrustMyLength<Self, Self::Item>ⓘNotable traits for TrustMyLength<I, J>impl<I, J> Iterator for TrustMyLength<I, J> where
I: Iterator<Item = J>, type Item = J;
{ ... }
fn collect_trusted<T>(self) -> T
where
T: FromTrustedLenIterator<Self::Item>,
Self: TrustedLen,
{ ... }
fn collect_reversed<T>(self) -> T
where
T: FromIteratorReversed<Self::Item>,
Self: TrustedLen,
{ ... }
fn all_equal(&mut self) -> bool
where
Self::Item: PartialEq<Self::Item>,
{ ... }
fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B>
where
Self: Iterator<Item = Option<A>>,
F: FnMut(B, A) -> B,
{ ... }
}
Provided methods
fn fold_first_<F>(self, f: F) -> Option<Self::Item> where
F: FnMut(Self::Item, Self::Item) -> Self::Item,
unsafe fn trust_my_length(
self,
length: usize
) -> TrustMyLength<Self, Self::Item>ⓘNotable traits for TrustMyLength<I, J>impl<I, J> Iterator for TrustMyLength<I, J> where
I: Iterator<Item = J>, type Item = J;
unsafe fn trust_my_length(
self,
length: usize
) -> TrustMyLength<Self, Self::Item>ⓘNotable traits for TrustMyLength<I, J>impl<I, J> Iterator for TrustMyLength<I, J> where
I: Iterator<Item = J>, type Item = J;
I: Iterator<Item = J>, type Item = J;