pub struct Monitor { /* private fields */ }
Implementations§
Source§impl Monitor
impl Monitor
pub fn new() -> Self
pub fn send_mouse_event(&self, has_activity: bool)
pub fn send_keyboard_event(&self, has_activity: bool)
pub fn send_window_event(&self, event: WindowEvent)
pub fn send_app_blocked_event(&self, event: BlockedAppEvent)
Auto Trait Implementations§
impl Freeze for Monitor
impl RefUnwindSafe for Monitor
impl Send for Monitor
impl Sync for Monitor
impl Unpin for Monitor
impl UnwindSafe for Monitor
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