Struct x11rb_protocol::protocol::xinput::DeviceStateDataAbsArea
source · pub struct DeviceStateDataAbsArea {
pub offset_x: u32,
pub offset_y: u32,
pub width: u32,
pub height: u32,
pub screen: u32,
pub following: u32,
}
Fields§
§offset_x: u32
§offset_y: u32
§width: u32
§height: u32
§screen: u32
§following: u32
Trait Implementations§
source§impl Clone for DeviceStateDataAbsArea
impl Clone for DeviceStateDataAbsArea
source§fn clone(&self) -> DeviceStateDataAbsArea
fn clone(&self) -> DeviceStateDataAbsArea
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 DeviceStateDataAbsArea
impl Debug for DeviceStateDataAbsArea
source§impl Hash for DeviceStateDataAbsArea
impl Hash for DeviceStateDataAbsArea
source§impl Ord for DeviceStateDataAbsArea
impl Ord for DeviceStateDataAbsArea
source§fn cmp(&self, other: &DeviceStateDataAbsArea) -> Ordering
fn cmp(&self, other: &DeviceStateDataAbsArea) -> 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<DeviceStateDataAbsArea> for DeviceStateDataAbsArea
impl PartialEq<DeviceStateDataAbsArea> for DeviceStateDataAbsArea
source§fn eq(&self, other: &DeviceStateDataAbsArea) -> bool
fn eq(&self, other: &DeviceStateDataAbsArea) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DeviceStateDataAbsArea> for DeviceStateDataAbsArea
impl PartialOrd<DeviceStateDataAbsArea> for DeviceStateDataAbsArea
source§fn partial_cmp(&self, other: &DeviceStateDataAbsArea) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceStateDataAbsArea) -> 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 DeviceStateDataAbsArea
impl Serialize for DeviceStateDataAbsArea
source§impl TryParse for DeviceStateDataAbsArea
impl TryParse for DeviceStateDataAbsArea
impl Copy for DeviceStateDataAbsArea
impl Eq for DeviceStateDataAbsArea
impl StructuralEq for DeviceStateDataAbsArea
impl StructuralPartialEq for DeviceStateDataAbsArea
Auto Trait Implementations§
impl RefUnwindSafe for DeviceStateDataAbsArea
impl Send for DeviceStateDataAbsArea
impl Sync for DeviceStateDataAbsArea
impl Unpin for DeviceStateDataAbsArea
impl UnwindSafe for DeviceStateDataAbsArea
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, Global>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer, Global> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more