pub struct FinalizeGuard;Expand description
Guard that will finalize global buffer when dropped
Dropping this guard is equivalent to calling sparkles::finalize
Implementations§
Source§impl FinalizeGuard
impl FinalizeGuard
pub fn early_drop(self)
pub fn forget(self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FinalizeGuard
impl RefUnwindSafe for FinalizeGuard
impl Send for FinalizeGuard
impl Sync for FinalizeGuard
impl Unpin for FinalizeGuard
impl UnwindSafe for FinalizeGuard
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