Module rune::runtime[][src]

Expand description

Runtime module for Rune.

Re-exports

pub use self::debug::DebugInfo;
pub use self::debug::DebugInst;
pub use self::format::Format;
pub use self::format::FormatSpec;

Modules

Budgeting module for Runestick.

Debug information for units.

Types for dealing with formatting specifications.

Structs

Our own private dynamic Any implementation.

The vtable for any type stored in the virtual machine.

Guard for data exclusively borrowed from a slot in the virtual machine.

Guard for a data borrowed from a slot in the virtual machine.

A vector of bytes.

A call frame.

A label that can be jumped to.

A callable non-sync function.

A type-erased future that can only be unsafely polled in combination with the virtual machine that created it.

A generator with a stored virtual machine.

An owning iterator.

A label that can be jumped to.

A strong mutable reference to the given type.

A tree of names.

Error raised when tried to access for exclusive access but it was not accessible.

Error raised when tried to access for shared access but it was not accessible.

Struct representing a dynamic anonymous object.

A descriptive panic.

A built in instance function.

Struct representing a dynamic anonymous object.

A raw guard around some level of access.

A raw guard to a Ref.

A raw guard to a Ref.

A raw static string.

A strong reference to the given type.

Runtime information on variant.

Static run context visible to the virtual machine.

A stored select.

A shared value.

A guard for an Any containing a pointer.

The stack of the virtual machine, where all values are stored.

An error raised when interacting with the stack.

Struct representing a static string.

Static type information.

A stream with a stored virtual machine.

An object with a well-defined type.

A callable sync function. This currently only supports a subset of values that are supported by the Vm.

Struct representing a dynamic anonymous object.

A tuple with a well-defined type.

Instructions from a single source file.

A empty with a well-defined type.

The variant of a type.

Runtime information on variant.

Struct representing a dynamic vector.

A helper type to deserialize arrays with different interior types.

A stack which references variables indirectly from a slab.

Errors raised by the execution of the virtual machine.

The execution environment for a virtual machine.

A type-erased rust number.

A wrapper that makes VmExecution Send.

Enums

An error raised while downcasting.

Errors raised during casting operations.

A stored await task.

The calling convention of a function.

A constant value.

The state of an execution. We keep track of this because it’s important to correctly interact with functions that yield (like generators and streams) by initially just calling the function, then by providing a value pushed onto the stack.

The state of a generator.

An operation in the stack-based virtual machine.

How an instruction addresses a value.

An operation between two values on the machine.

An operation between two values on the machine.

Range limits of a range expression.

The target of an operation.

A literal value that can be pushed.

A variant that can be constructed.

A key that can be used as an anonymous object key.

Pre-canned panic reasons.

The limits of a range.

An encoded type check.

Type information about a value, that can be printed for human consumption through its Display implementation.

The kind and necessary information on registered functions.

An entry on the stack.

The data of the variant.

The kind of error encountered.

The reason why the virtual machine execution stopped.

Statics

The specialized type information for a bool type.

The specialized type information for a bytes type.

The specialized type information for a byte type.

The specialized type information for a char type.

The specialized type information for a float type.

The specialized type information for a fmt spec types.

The specialized type information for a function pointer type.

The specialized type information for a future type.

The specialized type information for a generator state type.

The specialized type information for a generator type.

The specialized type information for a integer type.

The specialized type information for the iterator type.

The specialized type information for an anonymous object type.

The specialized type information for a option type.

The specialized type information for the range type.

The specialized type information for a result type.

The specialized type information for the Stream type.

The specialized type information for a string type.

The specialized type information for an anonymous tuple type.

The specialized type information for type objects.

The specialized type information for a unit.

The specialized type information for a vector type.

Traits

Trait for converting arguments onto the stack.

Trait for converting types from the dynamic Value container.

Trait for converting arguments onto the stack.

The trait for interacting with an iterator.

Trait for converting types into the dynamic Value container.

Trait used for Rust types for which we can determine the runtime type of.

A potentially unsafe conversion for value conversion.

Trait for converting types into values.

Derive Macros

Derive macro for the FromValue trait for converting types from the dynamic Value container.

Derive macro for the FromValue trait for converting types into the dynamic Value container.