Struct xcb::xinput::GetDeviceKeyMapping
source · pub struct GetDeviceKeyMapping {
pub device_id: u8,
pub first_keycode: KeyCode,
pub count: u8,
}
Expand description
The GetDeviceKeyMapping
request.
This request replies GetDeviceKeyMappingReply.
Associated cookie types are GetDeviceKeyMappingCookie and GetDeviceKeyMappingCookieUnchecked.
Fields§
§device_id: u8
§first_keycode: KeyCode
§count: u8
Trait Implementations§
source§impl Clone for GetDeviceKeyMapping
impl Clone for GetDeviceKeyMapping
source§fn clone(&self) -> GetDeviceKeyMapping
fn clone(&self) -> GetDeviceKeyMapping
Returns a copy 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 GetDeviceKeyMapping
impl Debug for GetDeviceKeyMapping
source§impl RawRequest for GetDeviceKeyMapping
impl RawRequest for GetDeviceKeyMapping
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
source§impl Request for GetDeviceKeyMapping
impl Request for GetDeviceKeyMapping
source§impl RequestWithReply for GetDeviceKeyMapping
impl RequestWithReply for GetDeviceKeyMapping
source§type Reply = GetDeviceKeyMappingReply
type Reply = GetDeviceKeyMappingReply
Reply associated with the request
source§type Cookie = GetDeviceKeyMappingCookie
type Cookie = GetDeviceKeyMappingCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = GetDeviceKeyMappingCookieUnchecked
type CookieUnchecked = GetDeviceKeyMappingCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for GetDeviceKeyMapping
impl RefUnwindSafe for GetDeviceKeyMapping
impl Send for GetDeviceKeyMapping
impl Sync for GetDeviceKeyMapping
impl Unpin for GetDeviceKeyMapping
impl UnwindSafe for GetDeviceKeyMapping
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)