Crate bytemuck_derive

Source
Expand description

Derive macros for bytemuck traits.

Derive Macrosยง

AnyBitPattern
Derive the AnyBitPattern trait for a struct
ByteEq
Derive the PartialEq and Eq trait for a type
ByteHash
Derive the Hash trait for a type
CheckedBitPattern
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
TransparentWrapper
Derive the TransparentWrapper trait for a struct
Zeroable
Derive the Zeroable trait for a type.