#[repr(transparent)]pub struct GCType(pub c_uint);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. TODO(v8:12612): Deprecate kGCTypeMinorMarkSweep after updating blink. 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. TODO(v8:12612): Deprecate kGCTypeMinorMarkSweep after updating blink.
Tuple Fields§
§0: c_uintImplementations§
Source§impl v8_GCType
impl v8_GCType
pub const kGCTypeScavenge: v8_GCType
pub const kGCTypeMinorMarkSweep: v8_GCType
pub const kGCTypeMarkSweepCompact: v8_GCType
pub const kGCTypeIncrementalMarking: v8_GCType
pub const kGCTypeProcessWeakCallbacks: v8_GCType
pub const kGCTypeAll: v8_GCType
Trait Implementations§
Source§impl BitAndAssign for v8_GCType
impl BitAndAssign for v8_GCType
Source§fn bitand_assign(&mut self, rhs: v8_GCType)
fn bitand_assign(&mut self, rhs: v8_GCType)
&= operation. Read moreSource§impl BitOrAssign for v8_GCType
impl BitOrAssign for v8_GCType
Source§fn bitor_assign(&mut self, rhs: v8_GCType)
fn bitor_assign(&mut self, rhs: v8_GCType)
|= operation. Read more