Struct x11rb_protocol::protocol::xinput::DeviceAbsAreaCtrl
source · pub struct DeviceAbsAreaCtrl {
pub control_id: DeviceControl,
pub len: u16,
pub offset_x: u32,
pub offset_y: u32,
pub width: i32,
pub height: i32,
pub screen: i32,
pub following: u32,
}
Fields§
§control_id: DeviceControl
§len: u16
§offset_x: u32
§offset_y: u32
§width: i32
§height: i32
§screen: i32
§following: u32
Trait Implementations§
source§impl Clone for DeviceAbsAreaCtrl
impl Clone for DeviceAbsAreaCtrl
source§fn clone(&self) -> DeviceAbsAreaCtrl
fn clone(&self) -> DeviceAbsAreaCtrl
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 DeviceAbsAreaCtrl
impl Debug for DeviceAbsAreaCtrl
source§impl Default for DeviceAbsAreaCtrl
impl Default for DeviceAbsAreaCtrl
source§fn default() -> DeviceAbsAreaCtrl
fn default() -> DeviceAbsAreaCtrl
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeviceAbsAreaCtrl
impl<'de> Deserialize<'de> for DeviceAbsAreaCtrl
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 DeviceAbsAreaCtrl
impl Hash for DeviceAbsAreaCtrl
source§impl Ord for DeviceAbsAreaCtrl
impl Ord for DeviceAbsAreaCtrl
source§fn cmp(&self, other: &DeviceAbsAreaCtrl) -> Ordering
fn cmp(&self, other: &DeviceAbsAreaCtrl) -> 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 DeviceAbsAreaCtrl
impl PartialEq for DeviceAbsAreaCtrl
source§fn eq(&self, other: &DeviceAbsAreaCtrl) -> bool
fn eq(&self, other: &DeviceAbsAreaCtrl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DeviceAbsAreaCtrl
impl PartialOrd for DeviceAbsAreaCtrl
source§fn partial_cmp(&self, other: &DeviceAbsAreaCtrl) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceAbsAreaCtrl) -> 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 DeviceAbsAreaCtrl
impl Serialize for DeviceAbsAreaCtrl
source§impl Serialize for DeviceAbsAreaCtrl
impl Serialize for DeviceAbsAreaCtrl
source§impl TryParse for DeviceAbsAreaCtrl
impl TryParse for DeviceAbsAreaCtrl
impl Copy for DeviceAbsAreaCtrl
impl Eq for DeviceAbsAreaCtrl
impl StructuralPartialEq for DeviceAbsAreaCtrl
Auto Trait Implementations§
impl Freeze for DeviceAbsAreaCtrl
impl RefUnwindSafe for DeviceAbsAreaCtrl
impl Send for DeviceAbsAreaCtrl
impl Sync for DeviceAbsAreaCtrl
impl Unpin for DeviceAbsAreaCtrl
impl UnwindSafe for DeviceAbsAreaCtrl
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