Struct xcb::xinput::SetDeviceModifierMapping
source · 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
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
)