pub fn create_engine() -> Engine {
    let mut engine = rhai::Engine::new();
    engine.disable_symbol("eval");
    engine.set_max_string_size(4096);
    engine.set_max_array_size(1024);
    engine.set_max_operations(1024);

    engine
}
/// This creates a scripting engine which can consume .rhai files. It's
/// important to note that it's okay to create many of these, which is
/// why it is not part of the shared state.
This creates a scripting engine which can consume .rhai files. It's
important to note that it's okay to create many of these, which is
why it is not part of the shared state.
This creates a scripting engine which can consume . rhai files . It ' s important to note that it ' s okay to create many of these which is why it is not part of the shared state .
pub fn create_engine() -> Engine {
    let mut engine = rhai::Engine::new();
    engine.disable_symbol("eval");
    engine.set_max_string_size(4096);
    engine.set_max_array_size(1024);
    engine.set_max_operations(1024);
    engine
}
pub fn create_engine ( ) -> Engine { let mut engine = rhai :: Engine :: new ( ) ; engine . disable_symbol ( " " ) ; engine . set_max_string_size ( 4096 ) ; engine . set_max_array_size ( 1024 ) ; engine . set_max_operations ( 1024 ) ; engine }
This creates a scripting engine which can consume .rhai files.
This creates a scripting engine which can consume . rhai files .