Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/polymeilex/libseat-rs

libseat-rs
https://github.com/polymeilex/libseat-rs

Last synced: about 2 months ago
JSON representation

libseat-rs

Awesome Lists containing this project

README

        

# libseat-rs

```rust
let seat = Seat::open(
|seat, event| match event {
SeatEvent::Enable => {
println!("Enable");
println!("Name: {}", seat.name());
}
SeatEvent::Disable => {
println!("Disable");
seat.disable().unwrap();
}
},
None,
)
```