pub trait GenRust {
// Required method
fn gen_rust(&self, ctx: &mut Context, cg: &mut RustCodegen);
}Required Methods§
fn gen_rust(&self, ctx: &mut Context, cg: &mut RustCodegen)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".