#[repr(C)]pub struct ClutterKeyEvent {
pub type_: ClutterEventType,
pub time: u32,
pub flags: ClutterEventFlags,
pub stage: *mut ClutterStage,
pub source: *mut ClutterActor,
pub modifier_state: ClutterModifierType,
pub keyval: c_uint,
pub hardware_keycode: u16,
pub unicode_value: u32,
pub device: *mut ClutterInputDevice,
}
Fields§
§type_: ClutterEventType
§time: u32
§flags: ClutterEventFlags
§stage: *mut ClutterStage
§source: *mut ClutterActor
§modifier_state: ClutterModifierType
§keyval: c_uint
§hardware_keycode: u16
§unicode_value: u32
§device: *mut ClutterInputDevice
Trait Implementations§
Source§impl Clone for ClutterKeyEvent
impl Clone for ClutterKeyEvent
Source§fn clone(&self) -> ClutterKeyEvent
fn clone(&self) -> ClutterKeyEvent
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 ClutterKeyEvent
impl Debug for ClutterKeyEvent
impl Copy for ClutterKeyEvent
Auto Trait Implementations§
impl Freeze for ClutterKeyEvent
impl RefUnwindSafe for ClutterKeyEvent
impl !Send for ClutterKeyEvent
impl !Sync for ClutterKeyEvent
impl Unpin for ClutterKeyEvent
impl UnwindSafe for ClutterKeyEvent
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