Struct quad_compat_rhai::EvalContext[][src]

pub struct EvalContext<'a, 'x, 'px, 'm, 's, 'b, 't, 'pt> { /* fields omitted */ }
Expand description

Context of a script evaluation process.

Implementations

Evaluate an expression tree.

WARNING - Low Level API

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

The current Engine.

The current source.

The current Scope.

Mutable reference to the current Scope.

Get an iterator over the current set of modules imported via import statements.

(internals) The current set of modules imported via import statements. Exported under the internals feature only.

Get an iterator over the namespaces containing definition of all script-defined functions.

(internals) The current set of namespaces containing definitions of all script-defined functions. Exported under the internals feature only.

The current bound this pointer, if any.

Mutable reference to the current bound this pointer, if any.

The current nesting level of function calls.

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.