Struct mozjs::jsapi::JS::AutoRequireNoGC
source · #[repr(C)]pub struct AutoRequireNoGC {
pub _address: u8,
}
Expand description
Pass a subclass of this “abstract” class to callees to require that they never GC. Subclasses can use assertions or the hazard analysis to ensure no GC happens.
Fields§
§_address: u8
Trait Implementations§
source§impl Debug for AutoRequireNoGC
impl Debug for AutoRequireNoGC
source§impl PartialEq<AutoRequireNoGC> for AutoRequireNoGC
impl PartialEq<AutoRequireNoGC> for AutoRequireNoGC
source§fn eq(&self, other: &AutoRequireNoGC) -> bool
fn eq(&self, other: &AutoRequireNoGC) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoRequireNoGC
Auto Trait Implementations§
impl RefUnwindSafe for AutoRequireNoGC
impl Send for AutoRequireNoGC
impl Sync for AutoRequireNoGC
impl Unpin for AutoRequireNoGC
impl UnwindSafe for AutoRequireNoGC
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