pub struct BumpScopeGuard<'a, A, const MIN_ALIGN: usize = 1, const UP: bool = true>{ /* private fields */ }Expand description
Returned from BumpScope::scope_guard.
Implementations§
Source§impl<'a, A, const MIN_ALIGN: usize, const UP: bool> BumpScopeGuard<'a, A, MIN_ALIGN, UP>
impl<'a, A, const MIN_ALIGN: usize, const UP: bool> BumpScopeGuard<'a, A, MIN_ALIGN, UP>
Trait Implementations§
Source§impl<A, const MIN_ALIGN: usize, const UP: bool> Debug for BumpScopeGuard<'_, A, MIN_ALIGN, UP>
impl<A, const MIN_ALIGN: usize, const UP: bool> Debug for BumpScopeGuard<'_, A, MIN_ALIGN, UP>
Auto Trait Implementations§
impl<'a, A, const MIN_ALIGN: usize, const UP: bool> Freeze for BumpScopeGuard<'a, A, MIN_ALIGN, UP>where
MinimumAlignment<MIN_ALIGN>: Sized,
impl<'a, A, const MIN_ALIGN: usize = 1, const UP: bool = true> !RefUnwindSafe for BumpScopeGuard<'a, A, MIN_ALIGN, UP>
impl<'a, A, const MIN_ALIGN: usize = 1, const UP: bool = true> !Send for BumpScopeGuard<'a, A, MIN_ALIGN, UP>
impl<'a, A, const MIN_ALIGN: usize = 1, const UP: bool = true> !Sync for BumpScopeGuard<'a, A, MIN_ALIGN, UP>
impl<'a, A, const MIN_ALIGN: usize, const UP: bool> Unpin for BumpScopeGuard<'a, A, MIN_ALIGN, UP>where
MinimumAlignment<MIN_ALIGN>: Sized,
impl<'a, A, const MIN_ALIGN: usize = 1, const UP: bool = true> !UnwindSafe for BumpScopeGuard<'a, A, MIN_ALIGN, UP>
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