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: u8Trait 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