Docs.rs
evdev-0.12.1
evdev 0.12.1
Docs.rs crate page
Apache-2.0 OR MIT
Links
Documentation
Repository
crates.io
Source
Owners
coolreader18
emberian
Dependencies
bitvec ^1.0.0
normal
cfg-if ^1.0
normal
futures-core ^0.3
normal
libc ^0.2.121
normal
nix ^0.23
normal
paste ^1.0
normal
serde ^1.0
normal
thiserror ^1
normal
tokio ^1.17
normal
itertools ^0.10
dev
tokio ^1.17
dev
Versions
65.65%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
EvdevEnum
Required Methods
from_index
to_index
Implementors
In evdev
?
Trait
evdev
::
EvdevEnum
source
·
[
−
]
pub trait EvdevEnum:
Copy
+ 'static { fn
from_index
(i:
usize
) -> Self;
fn
to_index
(self) ->
usize
; }
Available on
Unix
only.
Required Methods
§
source
fn
from_index
(i:
usize
) -> Self
source
fn
to_index
(self) ->
usize
Implementors
§
source
§
impl
EvdevEnum
for
AbsoluteAxisType
source
§
impl
EvdevEnum
for
BusType
source
§
impl
EvdevEnum
for
EventType
source
§
impl
EvdevEnum
for
FFEffectType
source
§
impl
EvdevEnum
for
FFStatus
source
§
impl
EvdevEnum
for
Key
source
§
impl
EvdevEnum
for
LedType
source
§
impl
EvdevEnum
for
MiscType
source
§
impl
EvdevEnum
for
PropType
source
§
impl
EvdevEnum
for
RelativeAxisType
source
§
impl
EvdevEnum
for
SoundType
source
§
impl
EvdevEnum
for
SwitchType
source
§
impl
EvdevEnum
for
Synchronization
source
§
impl
EvdevEnum
for
UInputEventType