#[repr(C)]pub struct ScopeExit<ExitFunction> {
    pub _phantom_0: PhantomData<UnsafeCell<ExitFunction>>,
    pub mExitFunction: ExitFunction,
    pub mExecuteOnDestruction: bool,
}Fields§
§_phantom_0: PhantomData<UnsafeCell<ExitFunction>>§mExitFunction: ExitFunction§mExecuteOnDestruction: boolTrait Implementations§
impl<ExitFunction> StructuralPartialEq for ScopeExit<ExitFunction>
Auto Trait Implementations§
impl<ExitFunction> Freeze for ScopeExit<ExitFunction>where
    ExitFunction: Freeze,
impl<ExitFunction> !RefUnwindSafe for ScopeExit<ExitFunction>
impl<ExitFunction> Send for ScopeExit<ExitFunction>where
    ExitFunction: Send,
impl<ExitFunction> !Sync for ScopeExit<ExitFunction>
impl<ExitFunction> Unpin for ScopeExit<ExitFunction>where
    ExitFunction: Unpin,
impl<ExitFunction> UnwindSafe for ScopeExit<ExitFunction>where
    ExitFunction: UnwindSafe,
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