Struct x11rb::protocol::xinput::SendExtensionEventRequest [−][src]
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
pub fn send<Conn: ?Sized>(
self,
conn: &Conn
) -> Result<VoidCookie<'_, Conn>, ConnectionError> where
Conn: RequestConnection + ?Sized,
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Clone all borrowed data in this SendExtensionEventRequest.
Trait Implementations
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more