Struct input_linux::AbsoluteInfo [] [src]

#[repr(C)]
pub struct AbsoluteInfo { pub value: i32, pub minimum: i32, pub maximum: i32, pub fuzz: i32, pub flat: i32, pub resolution: i32, }

Fields

latest reported value for the axis

specifies minimum value for the axis

specifies maximum value for the axis

specifies fuzz value that is used to filter noise from the event stream

values that are within this value will be discarded by joydev interface and reported as 0 instead

specifies 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 Copy for AbsoluteInfo
[src]

impl Clone for AbsoluteInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for AbsoluteInfo
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialOrd for AbsoluteInfo
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for AbsoluteInfo
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialEq for AbsoluteInfo
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for AbsoluteInfo
[src]

impl Hash for AbsoluteInfo
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for AbsoluteInfo
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a input_absinfo> for &'a AbsoluteInfo
[src]

[src]

Performs the conversion.

impl<'a> From<&'a AbsoluteInfo> for &'a input_absinfo
[src]

[src]

Performs the conversion.

impl From<input_absinfo> for AbsoluteInfo
[src]

[src]

Performs the conversion.

impl From<AbsoluteInfo> for input_absinfo
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for AbsoluteInfo

impl Sync for AbsoluteInfo