Trait swc_core::common::iter::IdentifyLast

pub trait IdentifyLast: Sized + Iterator {
    // Required method
    fn identify_last(self) -> Iter<Self> ;
}
Available on crate feature __common only.
Expand description

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

Required Methods§

fn identify_last(self) -> Iter<Self>

Object Safety§

This trait is not object safe.

Implementors§

§

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