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