[−][src]Struct input_linux::AbsoluteInfo
Describes the capabilities and constraints of an input device's absolute axis.
Fields
value: i32latest reported value for the axis
minimum: i32specifies minimum value for the axis
maximum: i32specifies maximum value for the axis
fuzz: i32specifies fuzz value that is used to filter noise from the event stream
flat: i32values that are within this value will be discarded by joydev interface and reported as 0 instead
resolution: i32specifies resolution for the values reported for the axis
Resolution for main axes (ABS_X, ABS_Y, ABS_Z) is reported in units per millimeter (units/mm), resolution for rotational axes (ABS_RX, ABS_RY, ABS_RZ) is reported in units per radian.
Trait Implementations
impl Clone for AbsoluteInfo[src]
pub fn clone(&self) -> AbsoluteInfo[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for AbsoluteInfo[src]
impl Debug for AbsoluteInfo[src]
impl Default for AbsoluteInfo[src]
pub fn default() -> AbsoluteInfo[src]
impl Eq for AbsoluteInfo[src]
impl<'a> From<&'a AbsoluteInfo> for &'a input_absinfo[src]
pub fn from(info: &'a AbsoluteInfo) -> Self[src]
impl<'a> From<&'a input_absinfo> for &'a AbsoluteInfo[src]
impl From<AbsoluteInfo> for input_absinfo[src]
pub fn from(info: AbsoluteInfo) -> Self[src]
impl From<input_absinfo> for AbsoluteInfo[src]
impl Hash for AbsoluteInfo[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Ord for AbsoluteInfo[src]
pub fn cmp(&self, other: &AbsoluteInfo) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<AbsoluteInfo> for AbsoluteInfo[src]
pub fn eq(&self, other: &AbsoluteInfo) -> bool[src]
pub fn ne(&self, other: &AbsoluteInfo) -> bool[src]
impl PartialOrd<AbsoluteInfo> for AbsoluteInfo[src]
pub fn partial_cmp(&self, other: &AbsoluteInfo) -> Option<Ordering>[src]
pub fn lt(&self, other: &AbsoluteInfo) -> bool[src]
pub fn le(&self, other: &AbsoluteInfo) -> bool[src]
pub fn gt(&self, other: &AbsoluteInfo) -> bool[src]
pub fn ge(&self, other: &AbsoluteInfo) -> bool[src]
impl StructuralEq for AbsoluteInfo[src]
impl StructuralPartialEq for AbsoluteInfo[src]
Auto Trait Implementations
impl RefUnwindSafe for AbsoluteInfo
impl Send for AbsoluteInfo
impl Sync for AbsoluteInfo
impl Unpin for AbsoluteInfo
impl UnwindSafe for AbsoluteInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,