Expand description
Derive macros for bytemuck traits.
Derive Macrosยง
- AnyBit
Pattern - Derive the
AnyBitPatterntrait for a struct - ByteEq
- Derive the
PartialEqandEqtrait for a type - Byte
Hash - Derive the
Hashtrait for a type - Checked
BitPattern - Derive the
CheckedBitPatterntrait for a struct or enum. - Contiguous
- Derive the
Contiguoustrait for an enum - NoUninit
- Derive the
NoUninittrait for a struct or enum - Pod
- Derive the
Podtrait for a struct - Transparent
Wrapper - Derive the
TransparentWrappertrait for a struct - Zeroable
- Derive the
Zeroabletrait for a type.