[][src]Derive Macro pelite::Pod

#[derive(Pod)]

Auto derive the Pod trait for structs.

The type is checked for requirements of the Pod trait:

  • Require #[repr(C)] annotation.
  • Require all struct members to implement Pod.
  • Require the size of the struct equal to the sum of the sizes of its members.