pub struct PenDevice { /* private fields */ }Expand description
Represents a pen/stylus device.
Implementations§
Trait Implementations§
Source§impl IInputDevice for PenDevice
impl IInputDevice for PenDevice
Source§fn process_raw_event(&self, e: &dyn IRawInputEventArgs)
fn process_raw_event(&self, e: &dyn IRawInputEventArgs)
Processes raw event. Is called after preprocessing by the input
manager.
Source§fn as_pointer_device(&self) -> Option<&dyn IPointerDevice>
fn as_pointer_device(&self) -> Option<&dyn IPointerDevice>
The device as a pointer device, if it is one.
impl IPenDevice for PenDevice
Source§impl IPointerDevice for PenDevice
impl IPointerDevice for PenDevice
Source§fn try_get_pointer(&self, ev: &RawPointerEventArgs) -> Option<Rc<dyn IPointer>>
fn try_get_pointer(&self, ev: &RawPointerEventArgs) -> Option<Rc<dyn IPointer>>
Gets a pointer for specific event args. Read more
Auto Trait Implementations§
impl !Freeze for PenDevice
impl !RefUnwindSafe for PenDevice
impl !Send for PenDevice
impl !Sync for PenDevice
impl !UnwindSafe for PenDevice
impl Unpin for PenDevice
impl UnsafeUnpin for PenDevice
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more