Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derive CLike (e.g. via custom_derive) #22

Open
Xion opened this issue May 15, 2017 · 0 comments · May be fixed by #23
Open

Derive CLike (e.g. via custom_derive) #22

Xion opened this issue May 15, 2017 · 0 comments · May be fixed by #23

Comments

@Xion
Copy link

Xion commented May 15, 2017

The CLike trait has a very boilerplate-ish implementation in most cases, and it could be easily derived.

The easy way to do it is to add an macro that works with the custom_derive crate. The more sophisticated approach would be a dedicated proc_macro crate.

KamilaBorowska added a commit to KamilaBorowska/enum-set that referenced this issue Aug 31, 2017
KamilaBorowska added a commit to KamilaBorowska/enum-set that referenced this issue Aug 31, 2017
KamilaBorowska added a commit to KamilaBorowska/enum-set that referenced this issue Aug 31, 2017
@KamilaBorowska KamilaBorowska linked a pull request Aug 31, 2017 that will close this issue
KamilaBorowska added a commit to KamilaBorowska/enum-set that referenced this issue Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant