Skip to main content

build_engine

Function build_engine 

Source
pub fn build_engine() -> Arc<Engine>
Expand description

Build the shared rhai engine used by every plugin segment. Returns an Arc so the consumer’s layout engine can clone cheaply into each segment adapter that wraps a crate::CompiledPlugin. The engine is immutable after this call.