Struct x11rb::protocol::xproto::ChangeKeyboardControlRequest
source · pub struct ChangeKeyboardControlRequest<'input> {
pub value_list: Cow<'input, ChangeKeyboardControlAux>,
}
Fields§
§value_list: Cow<'input, ChangeKeyboardControlAux>
Implementations§
source§impl<'input> ChangeKeyboardControlRequest<'input>
impl<'input> ChangeKeyboardControlRequest<'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) -> ChangeKeyboardControlRequest<'static>
pub fn into_owned(self) -> ChangeKeyboardControlRequest<'static>
Clone all borrowed data in this ChangeKeyboardControlRequest.
Trait Implementations§
source§impl<'input> Clone for ChangeKeyboardControlRequest<'input>
impl<'input> Clone for ChangeKeyboardControlRequest<'input>
source§fn clone(&self) -> ChangeKeyboardControlRequest<'input>
fn clone(&self) -> ChangeKeyboardControlRequest<'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 ChangeKeyboardControlRequest<'_>
impl Debug for ChangeKeyboardControlRequest<'_>
source§impl<'input> Default for ChangeKeyboardControlRequest<'input>
impl<'input> Default for ChangeKeyboardControlRequest<'input>
source§fn default() -> ChangeKeyboardControlRequest<'input>
fn default() -> ChangeKeyboardControlRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for ChangeKeyboardControlRequest<'input>
impl<'input> Request for ChangeKeyboardControlRequest<'input>
impl<'input> VoidRequest for ChangeKeyboardControlRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for ChangeKeyboardControlRequest<'input>
impl<'input> RefUnwindSafe for ChangeKeyboardControlRequest<'input>
impl<'input> Send for ChangeKeyboardControlRequest<'input>
impl<'input> Sync for ChangeKeyboardControlRequest<'input>
impl<'input> Unpin for ChangeKeyboardControlRequest<'input>
impl<'input> UnwindSafe for ChangeKeyboardControlRequest<'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
)