Trait HeapTrait
cgc_single_threaded::api
pub unsafe trait HeapTrait { fn mark(&self); fn unmark(&self); fn slot(&self) -> Address; fn get_fwd(&self) -> Address; fn set_fwd(&self, _: Address); fn copy_to(&self, addr: Address); fn addr(&self) -> Address; fn inner(&self) -> *mut HeapInner<dyn Trace>; fn is_marked(&self) -> bool; }
fn mark(&self)
fn unmark(&self)
fn slot(&self) -> Address
fn get_fwd(&self) -> Address
fn set_fwd(&self, _: Address)
fn copy_to(&self, addr: Address)
fn addr(&self) -> Address
fn inner(&self) -> *mut HeapInner<dyn Trace>
fn is_marked(&self) -> bool
impl<T: Trace + Sized + 'static> HeapTrait for Handle<T>
fn set_fwd(&self, fwd: Address)