Trait Lower
pub trait Lower<C>: Sizedwhere
C: ?Sized,{
type Runtime;
// Required method
fn lower(self, context: &mut C) -> Result<Self::Runtime, Report>;
}Expand description
Lower an instruction using the capabilities supplied by a program loader.
Instruction authors express required capabilities as bounds on C in their
implementation. Unchanged dialect instructions receive identity lowering.
Required Associated Types§
type Runtime
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".