pub struct PressKey<'a> {
pub key_code: isize,
pub modifier_flags: isize,
pub characters: &'a str,
}Expand description
What a press says of its key (UIKey): the usage, the modifier flags
and the characters.
Fields§
§key_code: isize§modifier_flags: isize§characters: &'a strTrait Implementations§
impl<'a> Copy for PressKey<'a>
impl<'a> Eq for PressKey<'a>
impl<'a> StructuralPartialEq for PressKey<'a>
Auto Trait Implementations§
impl<'a> Freeze for PressKey<'a>
impl<'a> RefUnwindSafe for PressKey<'a>
impl<'a> Send for PressKey<'a>
impl<'a> Sync for PressKey<'a>
impl<'a> Unpin for PressKey<'a>
impl<'a> UnsafeUnpin for PressKey<'a>
impl<'a> UnwindSafe for PressKey<'a>
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