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

Impl traits based on any T and not just the specifc int/float/binary types #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Wasabi375
Copy link

This is currently based off #6. I can remove that commit if you want to only merge 1 of both PRs.

I have not yet implemented this for bitwise operations.

This allows constructing constants for Little and BigEndian:
```
const FOO: BigEndian<u64> = BigEndian::from_bits(5u64.to_be()
```
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 this pull request may close these issues.

1 participant