#[derive(Cells)]
{
// Attributes available to this derive:
#[cells]
}
Expand description
Derive Cells
.
- enum : the variant name becomes the cell value.
- record struct : the field name becomes the column name, and the field value becomes the cell value.
- tuple struct : the field value becomes the cell value.