Struct SelectExtensionEventRequest
pub struct SelectExtensionEventRequest<'input> {
pub window: u32,
pub classes: Cow<'input, [u32]>,
}
Fields§
§window: u32
§classes: Cow<'input, [u32]>
Implementations§
§impl<'input> SelectExtensionEventRequest<'input>
impl<'input> SelectExtensionEventRequest<'input>
pub fn serialize(
self,
major_opcode: u8,
) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
pub fn serialize( self, major_opcode: u8, ) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
Serialize this request into bytes for the provided connection
pub fn into_owned(self) -> SelectExtensionEventRequest<'static>
pub fn into_owned(self) -> SelectExtensionEventRequest<'static>
Clone all borrowed data in this SelectExtensionEventRequest.
Trait Implementations§
§impl<'input> Clone for SelectExtensionEventRequest<'input>
impl<'input> Clone for SelectExtensionEventRequest<'input>
§fn clone(&self) -> SelectExtensionEventRequest<'input>
fn clone(&self) -> SelectExtensionEventRequest<'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 more§impl Debug for SelectExtensionEventRequest<'_>
impl Debug for SelectExtensionEventRequest<'_>
§impl<'input> Default for SelectExtensionEventRequest<'input>
impl<'input> Default for SelectExtensionEventRequest<'input>
§fn default() -> SelectExtensionEventRequest<'input>
fn default() -> SelectExtensionEventRequest<'input>
Returns the “default value” for a type. Read more
§impl<'input> Request for SelectExtensionEventRequest<'input>
impl<'input> Request for SelectExtensionEventRequest<'input>
impl<'input> VoidRequest for SelectExtensionEventRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for SelectExtensionEventRequest<'input>
impl<'input> RefUnwindSafe for SelectExtensionEventRequest<'input>
impl<'input> Send for SelectExtensionEventRequest<'input>
impl<'input> Sync for SelectExtensionEventRequest<'input>
impl<'input> Unpin for SelectExtensionEventRequest<'input>
impl<'input> UnwindSafe for SelectExtensionEventRequest<'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
)