scnr

Trait MatchExtIterator

Source
pub trait MatchExtIterator:
    Iterator<Item = Match>
    + PositionProvider
    + Sized {
    // Provided method
    fn with_positions(self) -> WithPositions<Self>  { ... }
}
Expand description

An extension trait for iterators over matches.

Provided Methods§

Source

fn with_positions(self) -> WithPositions<Self>

An iterator that yields matches with positions.

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§