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_uintTrait 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 more