pub struct MappedKey<'a> {
pub usage_id: u8,
pub dom_key: &'a str,
pub prefix: &'a str,
pub visual: &'a str,
}
Expand description
A single mapped keyboard key.
Fields§
§usage_id: u8
HID usage-id for keyboard key
dom_key: &'a str
The DOM key representation
prefix: &'a str
Machine friendly key name
visual: &'a str
Human friendly key name
Trait Implementations§
impl<'a> Copy for MappedKey<'a>
impl<'a> Eq for MappedKey<'a>
impl<'a> StructuralPartialEq for MappedKey<'a>
Auto Trait Implementations§
impl<'a> Freeze for MappedKey<'a>
impl<'a> RefUnwindSafe for MappedKey<'a>
impl<'a> Send for MappedKey<'a>
impl<'a> Sync for MappedKey<'a>
impl<'a> Unpin for MappedKey<'a>
impl<'a> UnwindSafe for MappedKey<'a>
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