pub struct GetKeyboardMapping {
pub first_keycode: Keycode,
pub count: u8,
}Expand description
The GetKeyboardMapping request.
This request replies GetKeyboardMappingReply.
Associated cookie types are GetKeyboardMappingCookie and GetKeyboardMappingCookieUnchecked.
Fields§
§first_keycode: Keycode§count: u8Trait Implementations§
Source§impl Clone for GetKeyboardMapping
impl Clone for GetKeyboardMapping
Source§fn clone(&self) -> GetKeyboardMapping
fn clone(&self) -> GetKeyboardMapping
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 GetKeyboardMapping
impl Debug for GetKeyboardMapping
Source§impl RawRequest for GetKeyboardMapping
impl RawRequest for GetKeyboardMapping
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 GetKeyboardMapping
impl Request for GetKeyboardMapping
Source§impl RequestWithReply for GetKeyboardMapping
impl RequestWithReply for GetKeyboardMapping
Source§type Reply = GetKeyboardMappingReply
type Reply = GetKeyboardMappingReply
Reply associated with the request
Source§type Cookie = GetKeyboardMappingCookie
type Cookie = GetKeyboardMappingCookie
Default cookie type for the request, as returned by Connection::send_request.
Source§type CookieUnchecked = GetKeyboardMappingCookieUnchecked
type CookieUnchecked = GetKeyboardMappingCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for GetKeyboardMapping
impl RefUnwindSafe for GetKeyboardMapping
impl Send for GetKeyboardMapping
impl Sync for GetKeyboardMapping
impl Unpin for GetKeyboardMapping
impl UnwindSafe for GetKeyboardMapping
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