Struct x11rb_protocol::protocol::xinput::GrabDeviceReply
source · pub struct GrabDeviceReply {
pub xi_reply_type: u8,
pub sequence: u16,
pub length: u32,
pub status: GrabStatus,
}
Fields§
§xi_reply_type: u8
§sequence: u16
§length: u32
§status: GrabStatus
Trait Implementations§
source§impl Clone for GrabDeviceReply
impl Clone for GrabDeviceReply
source§fn clone(&self) -> GrabDeviceReply
fn clone(&self) -> GrabDeviceReply
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 GrabDeviceReply
impl Debug for GrabDeviceReply
source§impl Default for GrabDeviceReply
impl Default for GrabDeviceReply
source§fn default() -> GrabDeviceReply
fn default() -> GrabDeviceReply
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GrabDeviceReply
impl<'de> Deserialize<'de> for GrabDeviceReply
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 From<GrabDeviceReply> for Reply
impl From<GrabDeviceReply> for Reply
source§fn from(reply: GrabDeviceReply) -> Reply
fn from(reply: GrabDeviceReply) -> Reply
Converts to this type from the input type.
source§impl Hash for GrabDeviceReply
impl Hash for GrabDeviceReply
source§impl Ord for GrabDeviceReply
impl Ord for GrabDeviceReply
source§fn cmp(&self, other: &GrabDeviceReply) -> Ordering
fn cmp(&self, other: &GrabDeviceReply) -> 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 GrabDeviceReply
impl PartialEq for GrabDeviceReply
source§fn eq(&self, other: &GrabDeviceReply) -> bool
fn eq(&self, other: &GrabDeviceReply) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GrabDeviceReply
impl PartialOrd for GrabDeviceReply
source§fn partial_cmp(&self, other: &GrabDeviceReply) -> Option<Ordering>
fn partial_cmp(&self, other: &GrabDeviceReply) -> 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 Serialize for GrabDeviceReply
impl Serialize for GrabDeviceReply
source§impl Serialize for GrabDeviceReply
impl Serialize for GrabDeviceReply
source§impl TryParse for GrabDeviceReply
impl TryParse for GrabDeviceReply
impl Copy for GrabDeviceReply
impl Eq for GrabDeviceReply
impl StructuralPartialEq for GrabDeviceReply
Auto Trait Implementations§
impl Freeze for GrabDeviceReply
impl RefUnwindSafe for GrabDeviceReply
impl Send for GrabDeviceReply
impl Sync for GrabDeviceReply
impl Unpin for GrabDeviceReply
impl UnwindSafe for GrabDeviceReply
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> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<RawFdContainer>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more