#[repr(transparent)]pub struct KeymapKey { /* private fields */ }
Expand description
A KeymapKey
is a hardware key that can be mapped to a keyval.
Implementations§
source§impl KeymapKey
impl KeymapKey
pub fn as_ptr(&self) -> *mut GdkKeymapKey
sourcepub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GdkKeymapKey) -> &'a Self
pub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GdkKeymapKey) -> &'a Self
Borrows the underlying C value.
sourcepub unsafe fn from_glib_ptr_borrow_mut<'a>(
ptr: *mut GdkKeymapKey
) -> &'a mut Self
pub unsafe fn from_glib_ptr_borrow_mut<'a>( ptr: *mut GdkKeymapKey ) -> &'a mut Self
Borrows the underlying C value mutably.