Struct rhai::EvalContext[][src]

pub struct EvalContext<'e, 'a, 's, 'm, 't, 'd: 't> { /* fields omitted */ }
Expand description

Context of a script evaluation process.

Implementations

The current Engine.

[INTERNALS] The current set of modules imported via import statements. Available under the internals feature only.

The global namespace containing definition of all script-defined functions.

The current nesting level of function calls.

Evaluate an expression tree.

WARNING - Low Level API

This function is very low level. It evaluates an expression from an AST.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.