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 for AbsoluteInfoSetup
impl PartialEq for AbsoluteInfoSetup
source§impl PartialOrd for AbsoluteInfoSetup
impl PartialOrd for AbsoluteInfoSetup
source§impl Serialize for AbsoluteInfoSetup
impl Serialize for AbsoluteInfoSetup
impl Copy for AbsoluteInfoSetup
impl Eq for AbsoluteInfoSetup
impl StructuralPartialEq for AbsoluteInfoSetup
Auto Trait Implementations§
impl Freeze for AbsoluteInfoSetup
impl RefUnwindSafe for AbsoluteInfoSetup
impl Send for AbsoluteInfoSetup
impl Sync for AbsoluteInfoSetup
impl Unpin for AbsoluteInfoSetup
impl UnwindSafe for AbsoluteInfoSetup
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)