bytecodealliance / bytecodealliance/rustix
Add ClockId::try_from
Open
enhancement
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 294
- Avg merge
- 4h 7m
- Merged PRs (30d)
- 2
Description
As a part of using the Wayland presentation time protocol, a way to convert a `u32` into a ClockId would be nice.
DynamicClockId I'd question if this type of API works. The DynamicClockId actually borrows an OwnedFd, so it probably would not work with a TryFrom API.
Contributor guide
Assessment
This issue has not been assessed yet.