[][src]Struct evdev_rs::AbsInfo

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

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

Methods

impl AbsInfo[src]

pub fn from_raw(absinfo: input_absinfo) -> AbsInfo[src]

pub fn as_raw(&self) -> input_absinfo[src]

Auto Trait Implementations

impl Send for AbsInfo

impl Sync for AbsInfo

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]