pub struct State(_);
Expand description

Maintains stack trace and import resolution

Implementations§

Should only be called with path retrieved from [resolve_path], may panic otherwise

Should only be called with path retrieved from [resolve_path], may panic otherwise

Should only be called with path retrieved from [resolve_path], may panic otherwise

Has same semantics as import 'path' called from from file

Creates context with all passed global variables

Executes code creating a new stack frame

Executes code creating a new stack frame

Executes code creating a new stack frame

Internals

Raw methods evaluate passed values but don’t perform TLA execution

Parses and evaluates the given snippet

Settings utilities

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more
Define how to visit values referred by this value. Read more
Whether this type should be tracked by the collector. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.