Struct x11rb_protocol::protocol::xinput::XIChangePropertyRequest
source · pub struct XIChangePropertyRequest<'input> {
pub deviceid: DeviceId,
pub mode: PropMode,
pub property: Atom,
pub type_: Atom,
pub num_items: u32,
pub items: Cow<'input, XIChangePropertyAux>,
}
Fields§
§deviceid: DeviceId
§mode: PropMode
§property: Atom
§type_: Atom
§num_items: u32
§items: Cow<'input, XIChangePropertyAux>
Implementations§
source§impl<'input> XIChangePropertyRequest<'input>
impl<'input> XIChangePropertyRequest<'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) -> XIChangePropertyRequest<'static>
pub fn into_owned(self) -> XIChangePropertyRequest<'static>
Clone all borrowed data in this XIChangePropertyRequest.
Trait Implementations§
source§impl<'input> Clone for XIChangePropertyRequest<'input>
impl<'input> Clone for XIChangePropertyRequest<'input>
source§fn clone(&self) -> XIChangePropertyRequest<'input>
fn clone(&self) -> XIChangePropertyRequest<'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 XIChangePropertyRequest<'_>
impl Debug for XIChangePropertyRequest<'_>
source§impl<'input> Request for XIChangePropertyRequest<'input>
impl<'input> Request for XIChangePropertyRequest<'input>
impl<'input> VoidRequest for XIChangePropertyRequest<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for XIChangePropertyRequest<'input>
impl<'input> Send for XIChangePropertyRequest<'input>
impl<'input> Sync for XIChangePropertyRequest<'input>
impl<'input> Unpin for XIChangePropertyRequest<'input>
impl<'input> UnwindSafe for XIChangePropertyRequest<'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