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
sourceimpl Clone for GdkEventKey
impl Clone for GdkEventKey
sourcefn clone(&self) -> GdkEventKey
fn clone(&self) -> GdkEventKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more