pub struct UILock<'a> { /* private fields */ }Expand description
A simple object that locks UI and calls unlock_ui on it when being dropped (Since it holds a mutable ref to UI its existence locks UI interaction)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for UILock<'a>
impl<'a> !Send for UILock<'a>
impl<'a> !Sync for UILock<'a>
impl<'a> Unpin for UILock<'a>
impl<'a> !UnwindSafe for UILock<'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