InputIter

Trait InputIter 

Source
pub trait InputIter:
    Iterator
    + Clone
    + Offsetable {
    // Required method
    fn curr(&self) -> Self::Item;
}
Expand description

A Cloneable Iterator that can report an offset as a count of processed Items.

Required Methods§

Source

fn curr(&self) -> Self::Item

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a> InputIter for StrIter<'a>

Source§

impl<'a, T: Debug + 'a> InputIter for SliceIter<'a, T>