Struct gdk_sys::GdkEventKey
source · #[repr(C)]pub struct GdkEventKey {
pub type_: GdkEventType,
pub window: *mut GdkWindow,
pub send_event: i8,
pub time: u32,
pub state: GdkModifierType,
pub keyval: c_uint,
pub length: c_int,
pub string: *mut c_char,
pub hardware_keycode: u16,
pub group: u8,
pub is_modifier: c_uint,
}
Fields§
§type_: GdkEventType
§window: *mut GdkWindow
§send_event: i8
§time: u32
§state: GdkModifierType
§keyval: c_uint
§length: c_int
§string: *mut c_char
§hardware_keycode: u16
§group: u8
§is_modifier: c_uint
Trait Implementations§
source§impl Clone for GdkEventKey
impl Clone for GdkEventKey
source§fn clone(&self) -> GdkEventKey
fn clone(&self) -> GdkEventKey
Returns a copy 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 GdkEventKey
impl Debug for GdkEventKey
impl Copy for GdkEventKey
Auto Trait Implementations§
impl RefUnwindSafe for GdkEventKey
impl !Send for GdkEventKey
impl !Sync for GdkEventKey
impl Unpin for GdkEventKey
impl UnwindSafe for GdkEventKey
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