Trait swc_common::iter::IdentifyLast
source · [−]pub trait IdentifyLast: Iterator + Sized {
fn identify_last(self) -> Iter<Self>ⓘNotable traits for Iter<It>impl<It> Iterator for Iter<It>where
It: Iterator, type Item = (bool, It::Item);
;
}
Expand description
Copied from https://users.rust-lang.org/t/iterator-need-to-identify-the-last-element/8836/3