pub trait AddProgram {
// Required method
fn add(
&mut self,
compiled: Option<Rc<Compiled>>,
program: &Program,
size: usize,
) -> usize;
}Expand description
Adding a program to the interpreter’s run unit by its source’s PROGRAM-ID and FILE-CONTROL.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".