Add extension traits for conversions on `core::mem` types
Open
compatibility-nonbreaking
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 179
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 29
Description
We often find ourselves re-implementing basic operations like `&T -> &ManuallyDrop` or `&T -> MaybeUninit`. So long as we're implementing these, we may as well make them available for use in our API. Extension traits is the first API design that comes to mind, but we could also consider bare functions.
Contributor guide
Assessment
This issue has not been assessed yet.