#[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: u8Trait Implementations§
Source§impl Debug for AutoRequireNoGC
impl Debug for AutoRequireNoGC
Source§impl PartialEq for AutoRequireNoGC
impl PartialEq for AutoRequireNoGC
Source§fn eq(&self, other: &AutoRequireNoGC) -> bool
fn eq(&self, other: &AutoRequireNoGC) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AutoRequireNoGC
Auto Trait Implementations§
impl Freeze for AutoRequireNoGC
impl RefUnwindSafe for AutoRequireNoGC
impl Send for AutoRequireNoGC
impl Sync for AutoRequireNoGC
impl Unpin for AutoRequireNoGC
impl UnsafeUnpin 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
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