Struct mozjs::jsapi::GCCellPtr
[−]
[src]
#[repr(C)]pub struct GCCellPtr { pub ptr: usize, }
A GC pointer, tagged with the trace kind.
In general, a GC pointer should be stored with an exact type. This class is for use when that is not possible because a single pointer must point to several kinds of GC thing.
Fields
ptr: usize
Methods
impl GCCellPtr
[src]
pub unsafe fn mayBeOwnedByOtherRuntime(&mut self) -> bool
[src]
Trait Implementations
impl Debug for GCCellPtr
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more