pub struct SetDeviceModifierMapping<'a> {
pub device_id: u8,
pub keycodes_per_modifier: u8,
pub keymaps: &'a [u8],
}Expand description
The SetDeviceModifierMapping request.
This request replies SetDeviceModifierMappingReply.
Associated cookie types are SetDeviceModifierMappingCookie and SetDeviceModifierMappingCookieUnchecked.
Fields§
§device_id: u8§keycodes_per_modifier: u8§keymaps: &'a [u8]Trait Implementations§
Source§impl<'a> Clone for SetDeviceModifierMapping<'a>
impl<'a> Clone for SetDeviceModifierMapping<'a>
Source§fn clone(&self) -> SetDeviceModifierMapping<'a>
fn clone(&self) -> SetDeviceModifierMapping<'a>
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<'a> Debug for SetDeviceModifierMapping<'a>
impl<'a> Debug for SetDeviceModifierMapping<'a>
Source§impl<'a> RawRequest for SetDeviceModifierMapping<'a>
impl<'a> RawRequest for SetDeviceModifierMapping<'a>
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<'a> Request for SetDeviceModifierMapping<'a>
impl<'a> Request for SetDeviceModifierMapping<'a>
Source§impl<'a> RequestWithReply for SetDeviceModifierMapping<'a>
impl<'a> RequestWithReply for SetDeviceModifierMapping<'a>
Source§type Reply = SetDeviceModifierMappingReply
type Reply = SetDeviceModifierMappingReply
Reply associated with the request
Source§type Cookie = SetDeviceModifierMappingCookie
type Cookie = SetDeviceModifierMappingCookie
Default cookie type for the request, as returned by Connection::send_request.
Source§type CookieUnchecked = SetDeviceModifierMappingCookieUnchecked
type CookieUnchecked = SetDeviceModifierMappingCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl<'a> Freeze for SetDeviceModifierMapping<'a>
impl<'a> RefUnwindSafe for SetDeviceModifierMapping<'a>
impl<'a> Send for SetDeviceModifierMapping<'a>
impl<'a> Sync for SetDeviceModifierMapping<'a>
impl<'a> Unpin for SetDeviceModifierMapping<'a>
impl<'a> UnwindSafe for SetDeviceModifierMapping<'a>
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