pub struct SurfaceGuard { /* private fields */ }Expand description
Restores the previously-active surface world when dropped. The per-world guards each restore their own
(independent) thread-local; _prev_surface restores the reactive current-surface.
Auto Trait Implementations§
impl !RefUnwindSafe for SurfaceGuard
impl !Send for SurfaceGuard
impl !Sync for SurfaceGuard
impl !UnwindSafe for SurfaceGuard
impl Freeze for SurfaceGuard
impl Unpin for SurfaceGuard
impl UnsafeUnpin for SurfaceGuard
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