Struct evdev_rs::AbsInfo [−][src]
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]
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, 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>,