pub struct DeviceTextInputEvent {
pub device_id: DeviceId,
pub codepoint: char,
}Expand description
A device generated text input.
Fields§
§device_id: DeviceIdThe ID of the device.
codepoint: charThe unicode codepoint that was generated.
Trait Implementations§
Source§impl Clone for DeviceTextInputEvent
impl Clone for DeviceTextInputEvent
Source§fn clone(&self) -> DeviceTextInputEvent
fn clone(&self) -> DeviceTextInputEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceTextInputEvent
impl Debug for DeviceTextInputEvent
Source§impl From<DeviceTextInputEvent> for DeviceEvent
impl From<DeviceTextInputEvent> for DeviceEvent
Source§fn from(other: DeviceTextInputEvent) -> Self
fn from(other: DeviceTextInputEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeviceTextInputEvent
impl RefUnwindSafe for DeviceTextInputEvent
impl Send for DeviceTextInputEvent
impl Sync for DeviceTextInputEvent
impl Unpin for DeviceTextInputEvent
impl UnwindSafe for DeviceTextInputEvent
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