#[repr(C)]pub struct KeyDescriptor {
pub key: Key,
pub unicode: Char16,
pub shifted_unicode: Char16,
pub alt_gr_unicode: Char16,
pub shifted_alt_gr_unicode: Char16,
pub modifier: u16,
pub affected_attribute: u16,
}Fields§
§key: Key§unicode: Char16§shifted_unicode: Char16§alt_gr_unicode: Char16§shifted_alt_gr_unicode: Char16§modifier: u16§affected_attribute: u16Trait Implementations§
Source§impl Clone for KeyDescriptor
impl Clone for KeyDescriptor
Source§fn clone(&self) -> KeyDescriptor
fn clone(&self) -> KeyDescriptor
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 KeyDescriptor
impl Debug for KeyDescriptor
impl Copy for KeyDescriptor
Auto Trait Implementations§
impl Freeze for KeyDescriptor
impl RefUnwindSafe for KeyDescriptor
impl Send for KeyDescriptor
impl Sync for KeyDescriptor
impl Unpin for KeyDescriptor
impl UnwindSafe for KeyDescriptor
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