Crate ruwren[−][src]
We need to expose the Wren API in a Rust-y way
Re-exports
pub use wren_sys; |
Macros
create_module | Creates a Wren module |
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 |
Structs
BasicFileLoader | |
ClassObjectPointers | List of |
ForeignObject | Indicates a “foreign object” to Wren |
FunctionHandle | A handle to a Wren method call |
Handle | A handle to a Wren object |
MethodPointer | |
Module | A container for [ |
ModuleLibrary | Simulates a module structure for foreign functions |
NullLoader | |
UserData | A mostly internal class that is exposed so that some externally generated code can access it. |
VM | |
VMConfig | |
VMStackFrameError | |
VMWrapper |
Enums
ForeignSendError | Errors that can happen when sending a foreign object to Wren |
FunctionSignature | |
SlotType | |
VMError | Possible errors for a Wren script |
WrenError | Directly used by |
Traits
Class | Initialize function for Wren classes |
ClassObject | Indicates a “real” Wren class, and must be implemented to be added to a |
ModuleScriptLoader | Enables one to enable module loading for Wren |
Printer | Sends strings for printing to an output |
Functions
type_name_of |
Type Definitions
SlotId |