config: add documentation
This commit is contained in:
parent
6916f03e94
commit
fe80440f38
36 changed files with 620 additions and 199 deletions
|
|
@ -1,5 +1,10 @@
|
|||
//! Constants specifying the capabilities of an input device.
|
||||
//!
|
||||
//! See the libinput documentation for the meanings of these constants.
|
||||
|
||||
use bincode::{Decode, Encode};
|
||||
|
||||
/// A capability of an input device.
|
||||
#[derive(Encode, Decode, Copy, Clone, Debug, Hash, Eq, PartialEq)]
|
||||
pub struct Capability(pub u32);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue