[−][src]Crate ruwren
We need to expose the Wren API in a Rust-y way
Re-exports
pub use wren_sys; |
Macros
create_module | Creates a function at $modl::publish_module, that takes a &mut ModuleLibrary and handles Module object creation and registration |
get_slot_checked | 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. |
send_foreign | Sends a foreign object [$obj] as an object of [$class] in module [$modl] to slot [$slot] |
Structs
ClassObjectPointers | |
ForeignObject | |
FunctionHandle | A handle to a Wren method call |
Handle | A handle to a Wren object |
MethodPointer | |
Module | |
ModuleLibrary | Simulates a module structure for foreign functions |
UserData | A mostly internal class that is exposed so that some externally generated code can access it. |
VM | |
VMConfig | |
VMStackFrameError | |
VMWrapper |
Enums
ForeignSendError | |
FunctionSignature | |
SlotType | |
VMError | |
WrenError |
Traits
Class | |
ClassObject | |
ModuleScriptLoader | Enables one to enable module loading for Wren |
Printer |
Functions
type_name_of |
Type Definitions
SlotId |