Trait ore::iter::IteratorExt [−][src]
pub trait IteratorExt where
Self: Iterator + Sized, {
fn chain_one(self, item: Self::Item) -> Chain<Self, Once<Self::Item>> { ... }
fn all_equal(self) -> bool
where
Self::Item: PartialEq,
{ ... }
}
Expand description
Extension methods for iterators.
Provided methods
Chains a single item
onto the end of this iterator.
Equivalent to self.chain(iter::once(item))
.