pub struct ScreenLock { /* private fields */ }Expand description
The screen stays on while this lives (keep_screen_on).
Trait Implementations§
Source§impl Drop for ScreenLock
impl Drop for ScreenLock
Auto Trait Implementations§
impl !Send for ScreenLock
impl !Sync for ScreenLock
impl Forget for ScreenLock
impl Freeze for ScreenLock
impl Move for ScreenLock
impl RefUnwindSafe for ScreenLock
impl Unpin for ScreenLock
impl UnsafeUnpin for ScreenLock
impl UnwindSafe for ScreenLock
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