Struct input_linux::AbsoluteInfoSetup
source · #[repr(C)]pub struct AbsoluteInfoSetup {
pub axis: AbsoluteAxis,
pub info: AbsoluteInfo,
}
Expand description
A descriptor used to create a virtual uinput absolute axis.
Fields§
§axis: AbsoluteAxis
The axis to attach the AbsoluteInfo
constraints to.
info: AbsoluteInfo
Describes the capabilities of the absolute axis.
Trait Implementations§
source§impl Clone for AbsoluteInfoSetup
impl Clone for AbsoluteInfoSetup
source§fn clone(&self) -> AbsoluteInfoSetup
fn clone(&self) -> AbsoluteInfoSetup
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 AbsoluteInfoSetup
impl Debug for AbsoluteInfoSetup
source§impl<'de> Deserialize<'de> for AbsoluteInfoSetup
impl<'de> Deserialize<'de> for AbsoluteInfoSetup
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<'a> From<&'a AbsoluteInfoSetup> for &'a uinput_abs_setup
impl<'a> From<&'a AbsoluteInfoSetup> for &'a uinput_abs_setup
source§fn from(info: &'a AbsoluteInfoSetup) -> Self
fn from(info: &'a AbsoluteInfoSetup) -> Self
Converts to this type from the input type.
source§impl From<AbsoluteInfoSetup> for uinput_abs_setup
impl From<AbsoluteInfoSetup> for uinput_abs_setup
source§fn from(info: AbsoluteInfoSetup) -> Self
fn from(info: AbsoluteInfoSetup) -> Self
Converts to this type from the input type.
source§impl Hash for AbsoluteInfoSetup
impl Hash for AbsoluteInfoSetup
source§impl Ord for AbsoluteInfoSetup
impl Ord for AbsoluteInfoSetup
source§fn cmp(&self, other: &AbsoluteInfoSetup) -> Ordering
fn cmp(&self, other: &AbsoluteInfoSetup) -> 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<AbsoluteInfoSetup> for AbsoluteInfoSetup
impl PartialEq<AbsoluteInfoSetup> for AbsoluteInfoSetup
source§fn eq(&self, other: &AbsoluteInfoSetup) -> bool
fn eq(&self, other: &AbsoluteInfoSetup) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AbsoluteInfoSetup> for AbsoluteInfoSetup
impl PartialOrd<AbsoluteInfoSetup> for AbsoluteInfoSetup
source§fn partial_cmp(&self, other: &AbsoluteInfoSetup) -> Option<Ordering>
fn partial_cmp(&self, other: &AbsoluteInfoSetup) -> 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 more