Struct go_vm::types::PointerHandle
source · pub struct PointerHandle { /* private fields */ }
Expand description
PointerHandle is used when converting a runtime pointer to a unsafe.Default
Implementations§
source§impl PointerHandle
impl PointerHandle
Trait Implementations§
source§impl Clone for PointerHandle
impl Clone for PointerHandle
source§fn clone(&self) -> PointerHandle
fn clone(&self) -> PointerHandle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PointerHandle
impl Debug for PointerHandle
source§impl UnsafePtr for PointerHandle
impl UnsafePtr for PointerHandle
source§fn ref_sub_one(&self)
fn ref_sub_one(&self)
for gc
source§fn mark_dirty(&self, q: &mut RCQueue)
fn mark_dirty(&self, q: &mut RCQueue)
for gc
fn eq(&self, other: &dyn UnsafePtr) -> bool
source§fn can_make_cycle(&self) -> bool
fn can_make_cycle(&self) -> bool
Returns true if the user data can make reference cycles, so that GC can
source§fn break_cycle(&self)
fn break_cycle(&self)
If can_make_cycle returns true, implement this to break cycle