Struct ChangeKeyboardControlRequest
pub struct ChangeKeyboardControlRequest<'input> {
pub value_list: Cow<'input, ChangeKeyboardControlAux>,
}
Fields§
§value_list: Cow<'input, ChangeKeyboardControlAux>
Implementations§
§impl<'input> ChangeKeyboardControlRequest<'input>
impl<'input> ChangeKeyboardControlRequest<'input>
pub 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
pub fn into_owned(self) -> ChangeKeyboardControlRequest<'static>
pub fn into_owned(self) -> ChangeKeyboardControlRequest<'static>
Clone all borrowed data in this ChangeKeyboardControlRequest.
Trait Implementations§
§impl<'input> Clone for ChangeKeyboardControlRequest<'input>
impl<'input> Clone for ChangeKeyboardControlRequest<'input>
§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 more§impl Debug for ChangeKeyboardControlRequest<'_>
impl Debug for ChangeKeyboardControlRequest<'_>
§impl<'input> Default for ChangeKeyboardControlRequest<'input>
impl<'input> Default for ChangeKeyboardControlRequest<'input>
§fn default() -> ChangeKeyboardControlRequest<'input>
fn default() -> ChangeKeyboardControlRequest<'input>
Returns the “default value” for a type. Read more
§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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)