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 VecDeque<i32>)
fn mark_dirty(&self, q: &mut VecDeque<i32>)
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
Auto Trait Implementations§
impl Freeze for PointerHandle
impl !RefUnwindSafe for PointerHandle
impl !Send for PointerHandle
impl !Sync for PointerHandle
impl Unpin for PointerHandle
impl !UnwindSafe for PointerHandle
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