pub trait Caster: Iterator + Sized {
    fn casted<U>(self, interner: U::Interner) -> Casted<Self, U>Notable traits for Casted<IT, U>impl<IT: Iterator, U> Iterator for Casted<IT, U> where
    IT::Item: CastTo<U>,
    U: HasInterner
type Item = U;

        Self::Item: CastTo<U>,
        U: HasInterner
, { ... } }
Expand description

An iterator adapter that casts each element we are iterating over to some other type.

Provided Methods

Cast each element in this iterator.