Struct x11rb_protocol::protocol::xkb::SelectEventsRequest
source · pub struct SelectEventsRequest<'input> {
pub device_spec: DeviceSpec,
pub clear: EventType,
pub select_all: EventType,
pub affect_map: MapPart,
pub map: MapPart,
pub details: Cow<'input, SelectEventsAux>,
}
Fields§
§device_spec: DeviceSpec
§clear: EventType
§select_all: EventType
§affect_map: MapPart
§map: MapPart
§details: Cow<'input, SelectEventsAux>
Implementations§
source§impl<'input> SelectEventsRequest<'input>
impl<'input> SelectEventsRequest<'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) -> SelectEventsRequest<'static>
pub fn into_owned(self) -> SelectEventsRequest<'static>
Clone all borrowed data in this SelectEventsRequest.
Trait Implementations§
source§impl<'input> Clone for SelectEventsRequest<'input>
impl<'input> Clone for SelectEventsRequest<'input>
source§fn clone(&self) -> SelectEventsRequest<'input>
fn clone(&self) -> SelectEventsRequest<'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 SelectEventsRequest<'_>
impl Debug for SelectEventsRequest<'_>
source§impl<'input> Default for SelectEventsRequest<'input>
impl<'input> Default for SelectEventsRequest<'input>
source§fn default() -> SelectEventsRequest<'input>
fn default() -> SelectEventsRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for SelectEventsRequest<'input>
impl<'input> Request for SelectEventsRequest<'input>
impl<'input> VoidRequest for SelectEventsRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for SelectEventsRequest<'input>
impl<'input> RefUnwindSafe for SelectEventsRequest<'input>
impl<'input> Send for SelectEventsRequest<'input>
impl<'input> Sync for SelectEventsRequest<'input>
impl<'input> Unpin for SelectEventsRequest<'input>
impl<'input> UnwindSafe for SelectEventsRequest<'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