Struct x11rb_protocol::protocol::xinput::DeviceCtlDataCore
source · pub struct DeviceCtlDataCore {
pub status: u8,
}
Fields§
§status: u8
Trait Implementations§
source§impl Clone for DeviceCtlDataCore
impl Clone for DeviceCtlDataCore
source§fn clone(&self) -> DeviceCtlDataCore
fn clone(&self) -> DeviceCtlDataCore
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 DeviceCtlDataCore
impl Debug for DeviceCtlDataCore
source§impl<'de> Deserialize<'de> for DeviceCtlDataCore
impl<'de> Deserialize<'de> for DeviceCtlDataCore
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 DeviceCtlDataCore
impl Hash for DeviceCtlDataCore
source§impl Ord for DeviceCtlDataCore
impl Ord for DeviceCtlDataCore
source§fn cmp(&self, other: &DeviceCtlDataCore) -> Ordering
fn cmp(&self, other: &DeviceCtlDataCore) -> 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 DeviceCtlDataCore
impl PartialEq for DeviceCtlDataCore
source§fn eq(&self, other: &DeviceCtlDataCore) -> bool
fn eq(&self, other: &DeviceCtlDataCore) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DeviceCtlDataCore
impl PartialOrd for DeviceCtlDataCore
source§fn partial_cmp(&self, other: &DeviceCtlDataCore) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceCtlDataCore) -> 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 DeviceCtlDataCore
impl Serialize for DeviceCtlDataCore
source§impl Serialize for DeviceCtlDataCore
impl Serialize for DeviceCtlDataCore
source§impl TryParse for DeviceCtlDataCore
impl TryParse for DeviceCtlDataCore
impl Copy for DeviceCtlDataCore
impl Eq for DeviceCtlDataCore
impl StructuralPartialEq for DeviceCtlDataCore
Auto Trait Implementations§
impl Freeze for DeviceCtlDataCore
impl RefUnwindSafe for DeviceCtlDataCore
impl Send for DeviceCtlDataCore
impl Sync for DeviceCtlDataCore
impl Unpin for DeviceCtlDataCore
impl UnwindSafe for DeviceCtlDataCore
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