pub struct GcCell {
pub data: JsObject,
pub marked: bool,
pub size: usize,
}Expand description
A GC-managed cell wrapping a JsObject
Fields§
§data: JsObjectThe object data
marked: boolWhether this cell is marked (reachable)
size: usizeApproximate size in bytes
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GcCell
impl RefUnwindSafe for GcCell
impl Send for GcCell
impl Sync for GcCell
impl Unpin for GcCell
impl UnwindSafe for GcCell
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)