Struct evdev_rs::AbsInfo[][src]

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

Implementations

impl AbsInfo[src]

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

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

Auto Trait Implementations

impl RefUnwindSafe for AbsInfo

impl Send for AbsInfo

impl Sync for AbsInfo

impl Unpin for AbsInfo

impl UnwindSafe for AbsInfo

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.