pub struct ChangeDevicePropertyRequest<'input> {
pub property: Atom,
pub type_: Atom,
pub device_id: u8,
pub mode: PropMode,
pub num_items: u32,
pub items: Cow<'input, ChangeDevicePropertyAux>,
}
Fields§
§property: Atom
§type_: Atom
§device_id: u8
§mode: PropMode
§num_items: u32
§items: Cow<'input, ChangeDevicePropertyAux>
Implementations§
source§impl<'input> ChangeDevicePropertyRequest<'input>
impl<'input> ChangeDevicePropertyRequest<'input>
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 3]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 3]>
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> ChangeDevicePropertyRequest<'static>
pub fn into_owned(self) -> ChangeDevicePropertyRequest<'static>
Clone all borrowed data in this ChangeDevicePropertyRequest.
Trait Implementations§
source§impl<'input> Clone for ChangeDevicePropertyRequest<'input>
impl<'input> Clone for ChangeDevicePropertyRequest<'input>
source§fn clone(&self) -> ChangeDevicePropertyRequest<'input>
fn clone(&self) -> ChangeDevicePropertyRequest<'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 ChangeDevicePropertyRequest<'_>
impl Debug for ChangeDevicePropertyRequest<'_>
source§impl<'input> Request for ChangeDevicePropertyRequest<'input>
impl<'input> Request for ChangeDevicePropertyRequest<'input>
impl<'input> VoidRequest for ChangeDevicePropertyRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for ChangeDevicePropertyRequest<'input>
impl<'input> RefUnwindSafe for ChangeDevicePropertyRequest<'input>
impl<'input> Send for ChangeDevicePropertyRequest<'input>
impl<'input> Sync for ChangeDevicePropertyRequest<'input>
impl<'input> Unpin for ChangeDevicePropertyRequest<'input>
impl<'input> UnwindSafe for ChangeDevicePropertyRequest<'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
)