Struct wren_rust::VM [] [src]

pub struct VM { /* fields omitted */ }

Wrapper around a WrenVM.

Refer to wren.h for info on each function.

Methods

impl VM
[src]

Create a new VM.

Create a wrapper around an existing WrenVM pointer.

This is mainly used by function wrapping macros.

Maps to wrenCollectGarbage.

Maps to wrenInterpret.

Maps to wrenMakeCallHandle.

Maps to wrenCall.

Maps to wrenReleaseHandle.

Maps to wrenGetSlotCount.

Maps to wrenEnsureSlots.

Maps to wrenGetSlotType.

Maps to wrenGetSlotBool.

Maps to wrenGetSlotBytes.

Maps to wrenGetSlotDouble.

Maps to wrenGetSlotForeign.

Maps to wrenGetSlotString.

Maps to wrenGetSlotHandle.

Maps to wrenSetSlotBool.

Maps to wrenSetSlotBytes.

Maps to wrenSetSlotDouble.

Maps to wrenSetSlotNewForeign.

Maps to wrenSetSlotNewList.

Maps to wrenSetSlotNull.

Maps to wrenSetSlotString.

Maps to wrenSetSlotHandle.

Maps to wrenGetListCount.

Maps to wrenGetListElement.

Maps to wrenInsertInList.

Maps to wrenGetVariable.

Maps to wrenAbortFiber.

Maps to wrenGetUserData.

Maps to wrenSetUserData.

Trait Implementations

impl Drop for VM
[src]

A method called when the value goes out of scope. Read more