pub struct BlockPreviewGuard(/* private fields */);Expand description
Restores the previous mode on drop.
Trait Implementations§
Source§impl Drop for BlockPreviewGuard
impl Drop for BlockPreviewGuard
Auto Trait Implementations§
impl Freeze for BlockPreviewGuard
impl RefUnwindSafe for BlockPreviewGuard
impl Send for BlockPreviewGuard
impl Sync for BlockPreviewGuard
impl Unpin for BlockPreviewGuard
impl UnsafeUnpin for BlockPreviewGuard
impl UnwindSafe for BlockPreviewGuard
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