Trait chalk_ir::Substitute[][src]

pub trait Substitute<I: Interner>: AsParameters<I> {
    fn apply<T: Fold<I>>(&self, value: T, interner: &I) -> T::Result;
}
Expand description

An extension trait to anything that can be represented as list of GenericArgs that signifies that it can applied as a substituion to a value

Required methods

Apply the substitution to a value.

Implementors