pub struct AfterGpu { /* private fields */ }Expand description
Owned handle to a render session’s post-GPU cleanup queue.
Clone from LendParameters::after_gpu to schedule GPU resource teardown
from Drop after in-flight GPU work finishes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AfterGpu
impl !UnwindSafe for AfterGpu
impl Forget for AfterGpu
impl Freeze for AfterGpuwhere
*const ArcInner<dyn AfterGpuHandle> is !null: Freeze,
PhantomData<ArcInner<dyn AfterGpuHandle>>: Freeze,
impl Move for AfterGpu
impl Send for AfterGpu
impl Sync for AfterGpu
impl Unpin for AfterGpu
impl UnsafeUnpin for AfterGpuwhere
*const ArcInner<dyn AfterGpuHandle> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn AfterGpuHandle>>: UnsafeUnpin,
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