pub struct NativeRuntimeContext { /* private fields */ }Implementations§
Source§impl NativeRuntimeContext
impl NativeRuntimeContext
pub fn new() -> Self
pub fn alloc(&mut self, value: VmValue) -> *mut VmValue
pub fn alloc_closure(&mut self, target: i64) -> *mut NativeRuntimeClosure
pub fn is_closure_handle(&self, value: *mut VmValue) -> bool
pub fn clone_value(&self, value: *mut VmValue) -> Option<VmValue>
Trait Implementations§
Source§impl Default for NativeRuntimeContext
impl Default for NativeRuntimeContext
Source§fn default() -> NativeRuntimeContext
fn default() -> NativeRuntimeContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NativeRuntimeContext
impl RefUnwindSafe for NativeRuntimeContext
impl !Send for NativeRuntimeContext
impl !Sync for NativeRuntimeContext
impl Unpin for NativeRuntimeContext
impl UnsafeUnpin for NativeRuntimeContext
impl UnwindSafe for NativeRuntimeContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more