pub struct KeymapKey { /* private fields */ }
Expand description
A KeymapKey
is a hardware key that can be mapped to a keyval.
GLib type: Inline allocated boxed type with stack copy semantics.
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 Freeze for KeymapKey
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