pub trait ScriptableModule {
// Required method
fn to_graph(&self) -> JitResult<ComputationGraph>;
}Expand description
Trait for scriptable modules
Required Methods§
Sourcefn to_graph(&self) -> JitResult<ComputationGraph>
fn to_graph(&self) -> JitResult<ComputationGraph>
Get the computation graph for this module
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".