pub struct TranslatedPress {
pub physical_key: PhysicalKey,
pub modifier: RawInputModifiers,
pub characters: Option<String>,
pub key_device_type: KeyDeviceType,
}Expand description
A press as the raw key event describes it.
Fields§
§physical_key: PhysicalKey§modifier: RawInputModifiers§characters: Option<String>§key_device_type: KeyDeviceTypeTrait Implementations§
Source§impl Clone for TranslatedPress
impl Clone for TranslatedPress
Source§impl Debug for TranslatedPress
impl Debug for TranslatedPress
impl Eq for TranslatedPress
Source§impl PartialEq for TranslatedPress
impl PartialEq for TranslatedPress
impl StructuralPartialEq for TranslatedPress
Auto Trait Implementations§
impl Freeze for TranslatedPress
impl RefUnwindSafe for TranslatedPress
impl Send for TranslatedPress
impl Sync for TranslatedPress
impl Unpin for TranslatedPress
impl UnsafeUnpin for TranslatedPress
impl UnwindSafe for TranslatedPress
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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