Module rune::runtime

source ·
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;
  • pub use self::unit::Unit;
  • pub use self::unit::UnitStorage;
  • pub use self::vm_error::try_result;
  • pub use self::vm_error::TryFromResult;

Modules§

  • Budgeting module for Runestick.
  • Debug information for units.
  • Types for dealing with formatting specifications.
  • A single execution unit in the rune virtual machine.

Structs§

  • Our own private dynamic Any implementation.
  • The vtable for any type stored in the virtual machine.
  • Type information for the Any type.
  • 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 empty with a well-defined type.
  • A formatter for the rune virtual machine.
  • Full type information.
  • The type of a function in Rune.
  • A type-erased future that can only be unsafely polled in combination with the virtual machine that created it.
  • The return value of a function producing a generator.
  • The default hasher used in Rune.
  • An owning iterator.
  • A strong mutable reference to the given type.
  • 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.
  • Struct representing a dynamic anonymous object.
  • A built in instance function.
  • Type for a range expression start..end.
  • Type for a from range expression start...
  • Type for a full range expression ...
  • Type for an inclusive range expression start..=end.
  • Type for an inclusive range expression ..end.
  • Type for an inclusive range expression ..=end.
  • 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 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.
  • The type of a tuple slice.
  • A tuple with a well-defined type.
  • A value representing a type in the virtual machine.
  • 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.
  • A virtual machine error which includes tracing information.
  • 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.
  • The calling convention of a function.
  • A constant value.
  • Used to tell an operation whether it should exit early or go on as usual.
  • 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.
  • Pre-canned panic reasons.
  • Type checks for built-in types.
  • Type information about a value, that can be printed for human consumption through its Display implementation.
  • An entry on the stack.
  • The data of the variant.
  • The reason why the virtual machine execution stopped.
  • A result produced by the virtual machine.

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.
  • A type that might or might not have a concrete type.
  • Trait for converting types into the dynamic Value container.
  • Trait used for Rust types for which we can determine the runtime type of.
  • UnsafeFromValueDeprecated
    A potentially unsafe conversion for value conversion.
  • Unsafe to mut coercion.
  • Unsafe to ref coercion.
  • Trait for converting types into values.

Functions§

Derive Macros§