pub struct InputDevice {
pub mouse: Mouse,
pub keyboard: Keyboard,
}Expand description
Virtual input device with keyboard and mouse.
Fields§
§mouse: MouseMouse actions (move/click).
keyboard: KeyboardKeyboard actions (press/type).
Implementations§
Source§impl InputDevice
impl InputDevice
Auto Trait Implementations§
impl Freeze for InputDevice
impl RefUnwindSafe for InputDevice
impl !Send for InputDevice
impl !Sync for InputDevice
impl Unpin for InputDevice
impl UnwindSafe for InputDevice
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