Derive Macrosยง
- Equivalence
- The
derivecrate feature enables theEquivalencederive macro, which makes it easy to send structs over-the-wire without worrying about safety around padding, and allowing arbitrary datatype matching between structs with the same field order but different layout.