Crate ruwren

source ·
Expand description

We expose the Wren API in a Rust-y way

Re-exports

Modules

Macros

  • Creates a Wren module
  • Checks if the slot type is correct at the given slot. If not, will panic. If it is, will return the item at the given slot.
  • Sends a foreign object $obj as an object of $class in module $modl to slot $slot

Structs

Enums

Traits

  • Initialize function for Wren classes
  • Indicates a “real” Wren class, and must be implemented to be added to a Module
  • Enables one to enable module loading for Wren
  • Sends strings for printing to an output

Functions

Type Aliases

Attribute Macros

Derive Macros