Struct x11rb::protocol::xinput::ChangeDeviceKeyMappingRequest
source · pub struct ChangeDeviceKeyMappingRequest<'input> {
pub device_id: u8,
pub first_keycode: u8,
pub keysyms_per_keycode: u8,
pub keycode_count: u8,
pub keysyms: Cow<'input, [u32]>,
}
Fields§
§device_id: u8
§first_keycode: u8
§keysyms_per_keycode: u8
§keycode_count: u8
§keysyms: Cow<'input, [u32]>
Implementations§
source§impl<'input> ChangeDeviceKeyMappingRequest<'input>
impl<'input> ChangeDeviceKeyMappingRequest<'input>
Trait Implementations§
source§impl<'input> Clone for ChangeDeviceKeyMappingRequest<'input>
impl<'input> Clone for ChangeDeviceKeyMappingRequest<'input>
source§fn clone(&self) -> ChangeDeviceKeyMappingRequest<'input>
fn clone(&self) -> ChangeDeviceKeyMappingRequest<'input>
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 ChangeDeviceKeyMappingRequest<'_>
impl Debug for ChangeDeviceKeyMappingRequest<'_>
source§impl<'input> Default for ChangeDeviceKeyMappingRequest<'input>
impl<'input> Default for ChangeDeviceKeyMappingRequest<'input>
source§fn default() -> ChangeDeviceKeyMappingRequest<'input>
fn default() -> ChangeDeviceKeyMappingRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for ChangeDeviceKeyMappingRequest<'input>
impl<'input> Request for ChangeDeviceKeyMappingRequest<'input>
impl<'input> VoidRequest for ChangeDeviceKeyMappingRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for ChangeDeviceKeyMappingRequest<'input>
impl<'input> RefUnwindSafe for ChangeDeviceKeyMappingRequest<'input>
impl<'input> Send for ChangeDeviceKeyMappingRequest<'input>
impl<'input> Sync for ChangeDeviceKeyMappingRequest<'input>
impl<'input> Unpin for ChangeDeviceKeyMappingRequest<'input>
impl<'input> UnwindSafe for ChangeDeviceKeyMappingRequest<'input>
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