pub struct WebMouseInputDevice { /* private fields */ }
Implementations§
source§impl WebMouseInputDevice
impl WebMouseInputDevice
pub fn new(element: EventTarget) -> Self
Trait Implementations§
source§impl InputDevice for WebMouseInputDevice
impl InputDevice for WebMouseInputDevice
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 WebMouseInputDevice
impl Sync for WebMouseInputDevice
Auto Trait Implementations§
impl !RefUnwindSafe for WebMouseInputDevice
impl Unpin for WebMouseInputDevice
impl !UnwindSafe for WebMouseInputDevice
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