#[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.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for KeymapKey
impl Send for KeymapKey
impl Sync for KeymapKey
impl Unpin for KeymapKey
impl UnwindSafe for KeymapKey
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