We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AsRef
AsMut
repr(uN)
For repr(uN) bitfields, it'd be helpful to be able to view a reference to the bitfield as a reference to the representation type without copy.
The opposite is also true - there are occasions when I'd like to operate on a primitive type as though it were a bitfield.
The text was updated successfully, but these errors were encountered:
I'm happy to submit a RP if this is considered desirable ^
Sorry, something went wrong.
I can't think of an implementation not requiring unsafe. Stdlib functions i.e. from_ne_byes copy.
No branches or pull requests
For
repr(uN)
bitfields, it'd be helpful to be able to view a reference to the bitfield as a reference to the representation type without copy.The opposite is also true - there are occasions when I'd like to operate on a primitive type as though it were a bitfield.
The text was updated successfully, but these errors were encountered: