pub struct KeepActive { /* private fields */ }Expand description
Keeps the machine or display awake (as configured), until dropped. Create using Builder.
Auto Trait Implementations§
impl Freeze for KeepActive
impl !RefUnwindSafe for KeepActive
impl Send for KeepActive
impl Sync for KeepActive
impl Unpin for KeepActive
impl !UnwindSafe for KeepActive
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