logo
#[derive(SystemLabel)]
{
    // Attributes available to this derive:
    #[system_label]
}
Expand description

Generates an impl of the SystemLabel trait.

This works only for unit structs, or enums with only unit variants. You may force a struct or variant to behave as if it were fieldless with #[system_label(ignore_fields)].