bytecodealliance / bytecodealliance/rustix

Add ClockId::try_from

Open
#986 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.