pub struct NoGC(());Expand description
Token that ensures that no GC can happen while it is alive.
This type is similar to &JSContext,
but it is used in cases where no actual context is needed.
For more info and examples see JSContext.
Tuple Fields§
§0: ()Auto Trait Implementations§
impl Freeze for NoGC
impl RefUnwindSafe for NoGC
impl Send for NoGC
impl Sync for NoGC
impl Unpin for NoGC
impl UnsafeUnpin for NoGC
impl UnwindSafe for NoGC
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
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more