pub struct BumpScopeGuard<'a, A, S = BumpSettings>where
A: Allocator,
S: BumpAllocatorSettings,{ /* private fields */ }Expand description
Returned from BumpAllocator::scope_guard.
Implementations§
Source§impl<'a, A, S> BumpScopeGuard<'a, A, S>where
A: Allocator,
S: BumpAllocatorSettings,
impl<'a, A, S> BumpScopeGuard<'a, A, S>where
A: Allocator,
S: BumpAllocatorSettings,
Trait Implementations§
Source§impl<A, S> Debug for BumpScopeGuard<'_, A, S>where
A: Allocator,
S: BumpAllocatorSettings,
impl<A, S> Debug for BumpScopeGuard<'_, A, S>where
A: Allocator,
S: BumpAllocatorSettings,
Source§impl<A, S> Drop for BumpScopeGuard<'_, A, S>where
A: Allocator,
S: BumpAllocatorSettings,
impl<A, S> Drop for BumpScopeGuard<'_, A, S>where
A: Allocator,
S: BumpAllocatorSettings,
Auto Trait Implementations§
impl<'a, A, S> Freeze for BumpScopeGuard<'a, A, S>
impl<'a, A, S = BumpSettings> !RefUnwindSafe for BumpScopeGuard<'a, A, S>
impl<'a, A, S = BumpSettings> !Send for BumpScopeGuard<'a, A, S>
impl<'a, A, S = BumpSettings> !Sync for BumpScopeGuard<'a, A, S>
impl<'a, A, S> Unpin for BumpScopeGuard<'a, A, S>
impl<'a, A, S = BumpSettings> !UnwindSafe for BumpScopeGuard<'a, A, S>
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