Struct overclock::core::CleanupData
source · [−]pub struct CleanupData<T: Resource> { /* private fields */ }
Expand description
Cleanup self data struct
Trait Implementations
sourceimpl<T: Resource> CleanupSelf for CleanupData<T>
impl<T: Resource> CleanupSelf for CleanupData<T>
sourcefn cleanup_self<'life0, 'async_trait>(
self: Box<Self>,
publisher_scope_id: ScopeId,
data_and_subscribers: &'life0 mut Map<dyn Any + Send + Sync>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn cleanup_self<'life0, 'async_trait>(
self: Box<Self>,
publisher_scope_id: ScopeId,
data_and_subscribers: &'life0 mut Map<dyn Any + Send + Sync>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Cleanup the resource from the self scope
Auto Trait Implementations
impl<T> RefUnwindSafe for CleanupData<T> where
T: RefUnwindSafe,
impl<T> Send for CleanupData<T>
impl<T> Sync for CleanupData<T>
impl<T> Unpin for CleanupData<T> where
T: Unpin,
impl<T> UnwindSafe for CleanupData<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more