rune

Module 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::value::Accessor;
  • pub use self::value::TypeValue;
  • 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.
  • Types for working with slices.
  • A single execution unit in the rune virtual machine.

Structs§

  • An error raised when failing to access a value.
  • A type-erased wrapper for a reference, whether it is mutable or not.
  • Errors caused when accessing or coercing an AnyObj.
  • 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 constant value.
  • A label that can be jumped to.
  • A reference to a dynamically defined empty type.
  • A reference to a dynamically defined struct.
  • A reference to a dynamically defined tuple.
  • A empty with a well-defined type.
  • A formatter for the rune virtual machine.
  • 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.
  • A generator produced by a generator function.
  • The default hasher used in Rune.
  • How an instruction addresses a value.
  • An owning iterator.
  • A strong owned mutable reference to the given type that can be safely dereferenced.
  • Struct representing a dynamic anonymous object.
  • What to do with the output of an instruction.
  • 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 for a Ref or a Mut that has been converted into its raw components through Ref::into_raw or Mut::into_raw.
  • The guard returned by Value::into_any_mut_ptr.
  • A strong owned reference to the given type that can be safely dereferenced.
  • Runtime information on variant.
  • Static run context visible to the virtual machine.
  • An opaque simple runtime error.
  • An error raised when accessing a slice on the stack.
  • The stack of the virtual machine, where all values are stored.
  • An error raised when accessing an address on the stack.
  • Struct representing a static string.
  • A stream produced by an async generator function.
  • 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.
  • Diagnostical type information for a given type.
  • An entry on the stack.
  • Defined guard for a reference value.
  • Defined guard for a reference value.
  • 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 wrapper that makes VmExecution Send.

Enums§

  • The calling convention of a function.
  • Used to tell an operation whether it should exit early or go on as usual.
  • The state of a generator.
  • An inline value.
  • An operation in the stack-based virtual machine.
  • An operation between two values on the machine.
  • An operation between two values on the machine.
  • An operation between two values on the machine.
  • Range limits of a range expression.
  • An operation between two values on the machine.
  • The target of an operation.
  • A literal value that can be pushed.
  • A variant that can be constructed.
  • Indicating the kind of isolation that is present for a frame.
  • Pre-canned panic reasons.
  • Type checks for built-in types.
  • A result produced by the virtual machine.

Traits§

  • Trait for converting arguments onto the stack.
  • Implementation of a constant constructor.
  • Trait for converting arguments into an array.
  • Convert a value from a constant value.
  • Trait for converting types from the dynamic Value container.
  • Trait for converting arguments onto the stack.
  • Trait used to coerce values into outputs.
  • A type that might or might not have a concrete type.
  • Memory access.
  • Convert a value into a constant value.
  • Trait governing things that can be returned from native functions.
  • Trait for converting types into the dynamic Value container.
  • Static type hash for a given type.
  • 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§