Struct x11rb_protocol::protocol::xproto::SetModifierMappingRequest
source · pub struct SetModifierMappingRequest<'input> {
pub keycodes: Cow<'input, [Keycode]>,
}
Fields§
§keycodes: Cow<'input, [Keycode]>
Implementations§
source§impl<'input> SetModifierMappingRequest<'input>
impl<'input> SetModifierMappingRequest<'input>
sourcepub fn serialize(self) -> BufWithFds<[Cow<'input, [u8]>; 3]>
pub fn serialize(self) -> BufWithFds<[Cow<'input, [u8]>; 3]>
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> SetModifierMappingRequest<'static>
pub fn into_owned(self) -> SetModifierMappingRequest<'static>
Clone all borrowed data in this SetModifierMappingRequest.
Trait Implementations§
source§impl<'input> Clone for SetModifierMappingRequest<'input>
impl<'input> Clone for SetModifierMappingRequest<'input>
source§fn clone(&self) -> SetModifierMappingRequest<'input>
fn clone(&self) -> SetModifierMappingRequest<'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 SetModifierMappingRequest<'_>
impl Debug for SetModifierMappingRequest<'_>
source§impl<'input> Default for SetModifierMappingRequest<'input>
impl<'input> Default for SetModifierMappingRequest<'input>
source§fn default() -> SetModifierMappingRequest<'input>
fn default() -> SetModifierMappingRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> ReplyRequest for SetModifierMappingRequest<'input>
impl<'input> ReplyRequest for SetModifierMappingRequest<'input>
§type Reply = SetModifierMappingReply
type Reply = SetModifierMappingReply
The kind of reply that this request generates.
source§impl<'input> Request for SetModifierMappingRequest<'input>
impl<'input> Request for SetModifierMappingRequest<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for SetModifierMappingRequest<'input>
impl<'input> Send for SetModifierMappingRequest<'input>
impl<'input> Sync for SetModifierMappingRequest<'input>
impl<'input> Unpin for SetModifierMappingRequest<'input>
impl<'input> UnwindSafe for SetModifierMappingRequest<'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