pub struct DesktopKeyboardInputDevice { /* private fields */ }
Trait Implementations§
Source§impl Default for DesktopKeyboardInputDevice
impl Default for DesktopKeyboardInputDevice
Source§fn default() -> DesktopKeyboardInputDevice
fn default() -> DesktopKeyboardInputDevice
Returns the “default value” for a type. Read more
Source§impl InputDevice for DesktopKeyboardInputDevice
impl InputDevice for DesktopKeyboardInputDevice
fn name(&self) -> &str
fn on_register(&mut self)
fn on_unregister(&mut self)
fn process(&mut self, universe: &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
Auto Trait Implementations§
impl Freeze for DesktopKeyboardInputDevice
impl RefUnwindSafe for DesktopKeyboardInputDevice
impl Send for DesktopKeyboardInputDevice
impl Sync for DesktopKeyboardInputDevice
impl Unpin for DesktopKeyboardInputDevice
impl UnwindSafe for DesktopKeyboardInputDevice
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