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 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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more