#[derive(GffModel)]
{
// Attributes available to this derive:
#[gff]
#[gff_entry]
#[gff_manual_element]
}
Expand description
Generates a typed view’s reader, writer, schema and Default from one
declaration per field.
Re-exported unconditionally so a consumer never names the proc-macro
crate. Generated code refers to ::rakata_formats:: paths, so anything
deriving this needs rakata-formats in scope under its own name.
Derives Default, the reader, the writer and the schema for a GFF struct.
See the crate docs for the vocabulary. Errors are reported at the span of the offending field or attribute rather than at the derive.