Struct x11rb::protocol::xproto::SetPointerMappingRequest
source · pub struct SetPointerMappingRequest<'input> {
pub map: Cow<'input, [u8]>,
}
Fields§
§map: Cow<'input, [u8]>
Implementations§
source§impl<'input> SetPointerMappingRequest<'input>
impl<'input> SetPointerMappingRequest<'input>
sourcepub fn serialize(self) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
pub fn serialize(self) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> SetPointerMappingRequest<'static>
pub fn into_owned(self) -> SetPointerMappingRequest<'static>
Clone all borrowed data in this SetPointerMappingRequest.
Trait Implementations§
source§impl<'input> Clone for SetPointerMappingRequest<'input>
impl<'input> Clone for SetPointerMappingRequest<'input>
source§fn clone(&self) -> SetPointerMappingRequest<'input>
fn clone(&self) -> SetPointerMappingRequest<'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 SetPointerMappingRequest<'_>
impl Debug for SetPointerMappingRequest<'_>
source§impl<'input> Default for SetPointerMappingRequest<'input>
impl<'input> Default for SetPointerMappingRequest<'input>
source§fn default() -> SetPointerMappingRequest<'input>
fn default() -> SetPointerMappingRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> ReplyRequest for SetPointerMappingRequest<'input>
impl<'input> ReplyRequest for SetPointerMappingRequest<'input>
§type Reply = SetPointerMappingReply
type Reply = SetPointerMappingReply
The kind of reply that this request generates.
source§impl<'input> Request for SetPointerMappingRequest<'input>
impl<'input> Request for SetPointerMappingRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for SetPointerMappingRequest<'input>
impl<'input> RefUnwindSafe for SetPointerMappingRequest<'input>
impl<'input> Send for SetPointerMappingRequest<'input>
impl<'input> Sync for SetPointerMappingRequest<'input>
impl<'input> Unpin for SetPointerMappingRequest<'input>
impl<'input> UnwindSafe for SetPointerMappingRequest<'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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)