Struct x11rb::protocol::xproto::ChangeKeyboardMappingRequest
source · pub struct ChangeKeyboardMappingRequest<'input> {
pub keycode_count: u8,
pub first_keycode: u8,
pub keysyms_per_keycode: u8,
pub keysyms: Cow<'input, [u32]>,
}
Fields§
§keycode_count: u8
§first_keycode: u8
§keysyms_per_keycode: u8
§keysyms: Cow<'input, [u32]>
Implementations§
source§impl<'input> ChangeKeyboardMappingRequest<'input>
impl<'input> ChangeKeyboardMappingRequest<'input>
sourcepub fn serialize(self) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
pub fn serialize(self) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> ChangeKeyboardMappingRequest<'static>
pub fn into_owned(self) -> ChangeKeyboardMappingRequest<'static>
Clone all borrowed data in this ChangeKeyboardMappingRequest.
Trait Implementations§
source§impl<'input> Clone for ChangeKeyboardMappingRequest<'input>
impl<'input> Clone for ChangeKeyboardMappingRequest<'input>
source§fn clone(&self) -> ChangeKeyboardMappingRequest<'input>
fn clone(&self) -> ChangeKeyboardMappingRequest<'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 ChangeKeyboardMappingRequest<'_>
impl Debug for ChangeKeyboardMappingRequest<'_>
source§impl<'input> Default for ChangeKeyboardMappingRequest<'input>
impl<'input> Default for ChangeKeyboardMappingRequest<'input>
source§fn default() -> ChangeKeyboardMappingRequest<'input>
fn default() -> ChangeKeyboardMappingRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for ChangeKeyboardMappingRequest<'input>
impl<'input> Request for ChangeKeyboardMappingRequest<'input>
impl<'input> VoidRequest for ChangeKeyboardMappingRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for ChangeKeyboardMappingRequest<'input>
impl<'input> RefUnwindSafe for ChangeKeyboardMappingRequest<'input>
impl<'input> Send for ChangeKeyboardMappingRequest<'input>
impl<'input> Sync for ChangeKeyboardMappingRequest<'input>
impl<'input> Unpin for ChangeKeyboardMappingRequest<'input>
impl<'input> UnwindSafe for ChangeKeyboardMappingRequest<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)