Expand description
Derive macros for bytemuck traits.
Derive Macrosยง
- AnyBit
Pattern - Derive the
AnyBitPattern
trait for a struct - ByteEq
- Derive the
PartialEq
andEq
trait for a type - Byte
Hash - Derive the
Hash
trait for a type - Checked
BitPattern - Derive the
CheckedBitPattern
trait for a struct or enum. - Contiguous
- Derive the
Contiguous
trait for an enum - NoUninit
- Derive the
NoUninit
trait for a struct or enum - Pod
- Derive the
Pod
trait for a struct - Transparent
Wrapper - Derive the
TransparentWrapper
trait for a struct - Zeroable
- Derive the
Zeroable
trait for a type.