mirror of
https://github.com/Lokathor/bytemuck.git
synced 2024-11-21 14:22:26 +00:00
2d1f876216
* parse `repr(usize)` and `repr(isize)` This can be used with enums. * emit packed repr without type suffix Previously we emitted the packed attribute with a type suffix for the value `packed(4u32)`. This is not allowed. Instead we should emit `packed(4)`. * read bits instead of creating reference This is required for packed structs where creating a reference to fields is not allowed. We can make a copy of the bits because the bits are `AnyBitPattern` which implies `Copy`. * emit generics on implied traits |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
changelog.md | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
LICENSE-ZLIB | ||
README.md |