taiki-e / pin-project-lite

A lightweight version of pin-project written with declarative macros.
https://docs.rs/pin-project-lite
Apache License 2.0
226 stars 16 forks source link

[WIP] Add support for public enums with newtype variants #63

Closed Michael-J-Ward closed 3 years ago

Michael-J-Ward commented 3 years ago

My strategy was to straight copy the @enum= matches and translate to @enum_newtype=, removing the variadics for the fields.

Michael-J-Ward commented 3 years ago

working on a better way to enable newtype variants