[][src]Trait chalk_ir::cast::Caster

pub trait Caster: Iterator + Sized {
    fn casted<U>(self, interner: &U::Interner) -> Casted<Self, U>
    where
        Self::Item: CastTo<U>,
        U: HasInterner
, { ... } }

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

Provided methods

fn casted<U>(self, interner: &U::Interner) -> Casted<Self, U> where
    Self::Item: CastTo<U>,
    U: HasInterner

Loading content...

Implementors

impl<I> Caster for I where
    I: Iterator
[src]

Loading content...