Struct xcb::xinput::ChangeDeviceKeyMapping
source · [−]pub struct ChangeDeviceKeyMapping<'a> {
pub device_id: u8,
pub first_keycode: KeyCode,
pub keysyms_per_keycode: u8,
pub keycode_count: u8,
pub keysyms: &'a [Keysym],
}
Expand description
The ChangeDeviceKeyMapping
request.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields
device_id: u8
first_keycode: KeyCode
keysyms_per_keycode: u8
keycode_count: u8
keysyms: &'a [Keysym]
Trait Implementations
sourceimpl<'a> Clone for ChangeDeviceKeyMapping<'a>
impl<'a> Clone for ChangeDeviceKeyMapping<'a>
sourcefn clone(&self) -> ChangeDeviceKeyMapping<'a>
fn clone(&self) -> ChangeDeviceKeyMapping<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for ChangeDeviceKeyMapping<'a>
impl<'a> Debug for ChangeDeviceKeyMapping<'a>
sourceimpl<'a> RawRequest for ChangeDeviceKeyMapping<'a>
impl<'a> RawRequest for ChangeDeviceKeyMapping<'a>
sourcefn 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
sourceimpl<'a> Request for ChangeDeviceKeyMapping<'a>
impl<'a> Request for ChangeDeviceKeyMapping<'a>
type Cookie = VoidCookie
type Cookie = VoidCookie
The default cookie associated to this request.
impl<'a> RequestWithoutReply for ChangeDeviceKeyMapping<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ChangeDeviceKeyMapping<'a>
impl<'a> Send for ChangeDeviceKeyMapping<'a>
impl<'a> Sync for ChangeDeviceKeyMapping<'a>
impl<'a> Unpin for ChangeDeviceKeyMapping<'a>
impl<'a> UnwindSafe for ChangeDeviceKeyMapping<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more