Skip to main content

Fieldwork

Derive Macro Fieldwork 

Source
#[derive(Fieldwork)]
{
    // Attributes available to this derive:
    #[fieldwork]
    #[field]
}
Expand description

Derive field accessor methods for a struct or enum. See fieldwork for full documentation.