Trait rustc_type_ir::UpcastFrom
source · pub trait UpcastFrom<I, T> {
// Required method
fn upcast_from(from: T, interner: I) -> Self;
}
Expand description
A From
-like trait that takes TyCtxt
to perform interner-specific transformations.
Required Methods§
fn upcast_from(from: T, interner: I) -> Self
Object Safety§
This trait is not object safe.