Crate bytemuck_derive

source
Expand description

Derive macros for bytemuck traits.

Derive Macrosยง

  • Derive the AnyBitPattern trait for a struct
  • Derive the PartialEq and Eq trait for a type
  • Derive the Hash trait for a type
  • Derive the CheckedBitPattern trait for a struct or enum.
  • Derive the Contiguous trait for an enum
  • Derive the NoUninit trait for a struct or enum
  • Derive the Pod trait for a struct
  • Derive the TransparentWrapper trait for a struct
  • Derive the Zeroable trait for a struct