Struct x11rb_protocol::protocol::xinput::SendExtensionEventRequest
source · pub struct SendExtensionEventRequest<'input> {
pub destination: Window,
pub device_id: u8,
pub propagate: bool,
pub events: Cow<'input, [EventForSend]>,
pub classes: Cow<'input, [EventClass]>,
}
Fields§
§destination: Window
§device_id: u8
§propagate: bool
§events: Cow<'input, [EventForSend]>
§classes: Cow<'input, [EventClass]>
Implementations§
source§impl<'input> SendExtensionEventRequest<'input>
impl<'input> SendExtensionEventRequest<'input>
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 4]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 4]>
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> SendExtensionEventRequest<'static>
pub fn into_owned(self) -> SendExtensionEventRequest<'static>
Clone all borrowed data in this SendExtensionEventRequest.
Trait Implementations§
source§impl<'input> Clone for SendExtensionEventRequest<'input>
impl<'input> Clone for SendExtensionEventRequest<'input>
source§fn clone(&self) -> SendExtensionEventRequest<'input>
fn clone(&self) -> SendExtensionEventRequest<'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 SendExtensionEventRequest<'_>
impl Debug for SendExtensionEventRequest<'_>
source§impl<'input> Request for SendExtensionEventRequest<'input>
impl<'input> Request for SendExtensionEventRequest<'input>
impl<'input> VoidRequest for SendExtensionEventRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for SendExtensionEventRequest<'input>
impl<'input> RefUnwindSafe for SendExtensionEventRequest<'input>
impl<'input> Send for SendExtensionEventRequest<'input>
impl<'input> Sync for SendExtensionEventRequest<'input>
impl<'input> Unpin for SendExtensionEventRequest<'input>
impl<'input> UnwindSafe for SendExtensionEventRequest<'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