pub trait EngineExtension<ET: EngineTypes> {
// Required method
fn new(memory: &mut MemoryManager<ET::Token>) -> Self;
}Expand description
Additional components we want to add to a EngineReferences can be implemented here.
Notably, () extends this trait if we don’t need any additional components.
Required Methods§
fn new(memory: &mut MemoryManager<ET::Token>) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.