Trait swc_common::iter::IdentifyLast

source ·
pub trait IdentifyLast: Iterator + Sized {
    // Required method
    fn identify_last(self) -> Iter<Self> ;
}
Expand description

Copied from https://users.rust-lang.org/t/iterator-need-to-identify-the-last-element/8836/3

Required Methods§

source

fn identify_last(self) -> Iter<Self>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<It> IdentifyLast for It
where It: Iterator,