| Crates.io | libseat |
| lib.rs | libseat |
| version | 0.2.3 |
| created_at | 2021-06-11 17:46:27.14197+00 |
| updated_at | 2025-01-24 18:10:13.444411+00 |
| description | Safe libseat bindings |
| homepage | |
| repository | https://github.com/PolyMeilex/libseat-rs |
| max_upload_size | |
| id | 409058 |
| size | 19,471 |
let seat = Seat::open(
|seat, event| match event {
SeatEvent::Enable => {
println!("Enable");
println!("Name: {}", seat.name());
}
SeatEvent::Disable => {
println!("Disable");
seat.disable().unwrap();
}
},
None,
)