pub struct ScriptEngine { /* private fields */ }Expand description
Wraps a Rhai engine. Reuse one instance per scenario to share the compiled function cache across steps.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ScriptEngine
impl !RefUnwindSafe for ScriptEngine
impl !UnwindSafe for ScriptEngine
impl Send for ScriptEngine
impl Sync for ScriptEngine
impl Unpin for ScriptEngine
impl UnsafeUnpin for ScriptEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more