Crate bytemuck_derive
source ·Expand description
Derive macros for bytemuck traits.
Derive Macros§
- Derive the
AnyBitPatterntrait for a struct - Derive the
PartialEqandEqtrait for a type - Derive the
Hashtrait for a type - Derive the
CheckedBitPatterntrait for a struct or enum. - Derive the
Contiguoustrait for an enum - Derive the
NoUninittrait for a struct or enum - Derive the
Podtrait for a struct - Derive the
TransparentWrappertrait for a struct - Derive the
Zeroabletrait for a struct