Trait Upcast
pub trait Upcast<I, T> {
// Required method
fn upcast(self, interner: I) -> T;
}
Expand description
An Into
-like trait that takes TyCtxt
to perform interner-specific transformations.
pub trait Upcast<I, T> {
// Required method
fn upcast(self, interner: I) -> T;
}
An Into
-like trait that takes TyCtxt
to perform interner-specific transformations.