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

Add Into support for booleans #7

Open
ithinuel opened this issue Apr 22, 2018 · 0 comments
Open

Add Into support for booleans #7

ithinuel opened this issue Apr 22, 2018 · 0 comments
Milestone

Comments

@ithinuel
Copy link
Contributor

So that we can use enums even if the field is only 1 bit wide.

It can currently be worked around by using into Type, field1, _: 2, 2;
But it looks wrong and it still requires Type to implement From/Into.

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

No branches or pull requests

2 participants