pub struct WebKeyboardInputDevice { /* private fields */ }
Implementations§
source§impl WebKeyboardInputDevice
impl WebKeyboardInputDevice
pub fn new(element: EventTarget) -> Self
pub fn last_sequence(&self) -> &[KeyCode]
Trait Implementations§
source§impl InputDevice for WebKeyboardInputDevice
impl InputDevice for WebKeyboardInputDevice
fn name(&self) -> &str
fn on_register(&mut self)
fn on_unregister(&mut self)
fn process(&mut self, _: &mut Universe)
fn query_axis(&self, name: &str) -> Option<Scalar>
fn query_trigger(&self, name: &str) -> Option<bool>
fn query_text(&self) -> Option<String>
fn as_any(&self) -> &dyn Any
impl Send for WebKeyboardInputDevice
impl Sync for WebKeyboardInputDevice
Auto Trait Implementations§
impl !RefUnwindSafe for WebKeyboardInputDevice
impl Unpin for WebKeyboardInputDevice
impl !UnwindSafe for WebKeyboardInputDevice
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