#[repr(C)]pub struct GCType(_);
Expand description
Applications can register callback functions which will be called before and after certain garbage collection operations. Allocations are not allowed in the callback functions, you therefore cannot manipulate objects (set or delete properties for example) since it is possible such operations will result in the allocation of objects.
Trait Implementations§
source§impl PartialEq<GCType> for GCType
impl PartialEq<GCType> for GCType
impl Copy for GCType
impl Eq for GCType
impl StructuralEq for GCType
impl StructuralPartialEq for GCType
Auto Trait Implementations§
impl RefUnwindSafe for GCType
impl Send for GCType
impl Sync for GCType
impl Unpin for GCType
impl UnwindSafe for GCType
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