pub struct AbsInfo {
    pub value: i32,
    pub minimum: i32,
    pub maximum: i32,
    pub fuzz: i32,
    pub flat: i32,
    pub resolution: i32,
}
Expand description

used by EVIOCGABS/EVIOCSABS ioctls

Fields

value: i32

latest reported value for the axis

minimum: i32

specifies minimum value for the axis

maximum: i32

specifies maximum value for the axis

fuzz: i32

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

flat: i32

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

resolution: i32

specifies resolution for the values reported for the axis

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.