Struct x11rb_protocol::protocol::xinput::GetExtensionVersionRequest
source · pub struct GetExtensionVersionRequest<'input> {
pub name: Cow<'input, [u8]>,
}
Fields§
§name: Cow<'input, [u8]>
Implementations§
source§impl<'input> GetExtensionVersionRequest<'input>
impl<'input> GetExtensionVersionRequest<'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) -> GetExtensionVersionRequest<'static>
pub fn into_owned(self) -> GetExtensionVersionRequest<'static>
Clone all borrowed data in this GetExtensionVersionRequest.
Trait Implementations§
source§impl<'input> Clone for GetExtensionVersionRequest<'input>
impl<'input> Clone for GetExtensionVersionRequest<'input>
source§fn clone(&self) -> GetExtensionVersionRequest<'input>
fn clone(&self) -> GetExtensionVersionRequest<'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 GetExtensionVersionRequest<'_>
impl Debug for GetExtensionVersionRequest<'_>
source§impl<'input> Default for GetExtensionVersionRequest<'input>
impl<'input> Default for GetExtensionVersionRequest<'input>
source§fn default() -> GetExtensionVersionRequest<'input>
fn default() -> GetExtensionVersionRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> ReplyRequest for GetExtensionVersionRequest<'input>
impl<'input> ReplyRequest for GetExtensionVersionRequest<'input>
§type Reply = GetExtensionVersionReply
type Reply = GetExtensionVersionReply
The kind of reply that this request generates.
source§impl<'input> Request for GetExtensionVersionRequest<'input>
impl<'input> Request for GetExtensionVersionRequest<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for GetExtensionVersionRequest<'input>
impl<'input> Send for GetExtensionVersionRequest<'input>
impl<'input> Sync for GetExtensionVersionRequest<'input>
impl<'input> Unpin for GetExtensionVersionRequest<'input>
impl<'input> UnwindSafe for GetExtensionVersionRequest<'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