#[derive(Pack)]
{
// Attributes available to this derive:
#[senax]
}
Expand description
Derive macro for implementing the Pack trait (Packer only)
This procedural macro automatically generates an implementation of the Packer trait
for structs and enums. It provides compact serialization without field IDs for structs.
ยงExamples
#[derive(Pack)]
struct MyStruct {
field1: i32,
field2: String,
}