Struct x11rb_protocol::protocol::xinput::XIUngrabDeviceRequest
source · pub struct XIUngrabDeviceRequest {
pub time: Timestamp,
pub deviceid: DeviceId,
}
Fields§
§time: Timestamp
§deviceid: DeviceId
Implementations§
source§impl XIUngrabDeviceRequest
impl XIUngrabDeviceRequest
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 XIUngrabDeviceRequest
impl Clone for XIUngrabDeviceRequest
source§fn clone(&self) -> XIUngrabDeviceRequest
fn clone(&self) -> XIUngrabDeviceRequest
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 XIUngrabDeviceRequest
impl Debug for XIUngrabDeviceRequest
source§impl Default for XIUngrabDeviceRequest
impl Default for XIUngrabDeviceRequest
source§fn default() -> XIUngrabDeviceRequest
fn default() -> XIUngrabDeviceRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for XIUngrabDeviceRequest
impl<'de> Deserialize<'de> for XIUngrabDeviceRequest
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 XIUngrabDeviceRequest
impl Hash for XIUngrabDeviceRequest
source§impl Ord for XIUngrabDeviceRequest
impl Ord for XIUngrabDeviceRequest
source§fn cmp(&self, other: &XIUngrabDeviceRequest) -> Ordering
fn cmp(&self, other: &XIUngrabDeviceRequest) -> 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 XIUngrabDeviceRequest
impl PartialEq for XIUngrabDeviceRequest
source§fn eq(&self, other: &XIUngrabDeviceRequest) -> bool
fn eq(&self, other: &XIUngrabDeviceRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for XIUngrabDeviceRequest
impl PartialOrd for XIUngrabDeviceRequest
source§fn partial_cmp(&self, other: &XIUngrabDeviceRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &XIUngrabDeviceRequest) -> 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 XIUngrabDeviceRequest
impl Request for XIUngrabDeviceRequest
source§impl Serialize for XIUngrabDeviceRequest
impl Serialize for XIUngrabDeviceRequest
impl Copy for XIUngrabDeviceRequest
impl Eq for XIUngrabDeviceRequest
impl StructuralPartialEq for XIUngrabDeviceRequest
impl VoidRequest for XIUngrabDeviceRequest
Auto Trait Implementations§
impl Freeze for XIUngrabDeviceRequest
impl RefUnwindSafe for XIUngrabDeviceRequest
impl Send for XIUngrabDeviceRequest
impl Sync for XIUngrabDeviceRequest
impl Unpin for XIUngrabDeviceRequest
impl UnwindSafe for XIUngrabDeviceRequest
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