Derive Macro PropertyName

Source
#[derive(PropertyName)]
{
    // Attributes available to this derive:
    #[property]
}
Expand description

Implements a custom trait - PropertyName

§Used on

  • properties

§Purpose

Quickly implements a trait based on the property struct name in kebab-case - is needed for the correct usage of Display trait.