pub struct ScopeGuard<'a> { /* private fields */ }Expand description
RAII guard for a host scope opened by PluginRuntime::scope.
Implementations§
Trait Implementations§
Source§impl Drop for ScopeGuard<'_>
impl Drop for ScopeGuard<'_>
Auto Trait Implementations§
impl<'a> !Send for ScopeGuard<'a>
impl<'a> !Sync for ScopeGuard<'a>
impl<'a> Freeze for ScopeGuard<'a>
impl<'a> RefUnwindSafe for ScopeGuard<'a>
impl<'a> Unpin for ScopeGuard<'a>
impl<'a> UnsafeUnpin for ScopeGuard<'a>
impl<'a> UnwindSafe for ScopeGuard<'a>
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