Struct x11rb_protocol::protocol::xinput::XISetClientPointerRequest
source · pub struct XISetClientPointerRequest {
pub window: Window,
pub deviceid: DeviceId,
}
Fields§
§window: Window
§deviceid: DeviceId
Implementations§
source§impl XISetClientPointerRequest
impl XISetClientPointerRequest
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<Self, ParseError>
pub fn try_parse_request( header: RequestHeader, value: &[u8] ) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations§
source§impl Clone for XISetClientPointerRequest
impl Clone for XISetClientPointerRequest
source§fn clone(&self) -> XISetClientPointerRequest
fn clone(&self) -> XISetClientPointerRequest
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 XISetClientPointerRequest
impl Debug for XISetClientPointerRequest
source§impl Default for XISetClientPointerRequest
impl Default for XISetClientPointerRequest
source§fn default() -> XISetClientPointerRequest
fn default() -> XISetClientPointerRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for XISetClientPointerRequest
impl<'de> Deserialize<'de> for XISetClientPointerRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for XISetClientPointerRequest
impl Hash for XISetClientPointerRequest
source§impl Ord for XISetClientPointerRequest
impl Ord for XISetClientPointerRequest
source§fn cmp(&self, other: &XISetClientPointerRequest) -> Ordering
fn cmp(&self, other: &XISetClientPointerRequest) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for XISetClientPointerRequest
impl PartialEq for XISetClientPointerRequest
source§fn eq(&self, other: &XISetClientPointerRequest) -> bool
fn eq(&self, other: &XISetClientPointerRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for XISetClientPointerRequest
impl PartialOrd for XISetClientPointerRequest
source§fn partial_cmp(&self, other: &XISetClientPointerRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &XISetClientPointerRequest) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Request for XISetClientPointerRequest
impl Request for XISetClientPointerRequest
impl Copy for XISetClientPointerRequest
impl Eq for XISetClientPointerRequest
impl StructuralPartialEq for XISetClientPointerRequest
impl VoidRequest for XISetClientPointerRequest
Auto Trait Implementations§
impl Freeze for XISetClientPointerRequest
impl RefUnwindSafe for XISetClientPointerRequest
impl Send for XISetClientPointerRequest
impl Sync for XISetClientPointerRequest
impl Unpin for XISetClientPointerRequest
impl UnwindSafe for XISetClientPointerRequest
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