Derive Macro PropertyImpl

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

Adds an impl on the <Property>Value

§Used on

  • properties

§Purpose

Creates an impl for the enum (<PropertyValue>Value), with methods for the keywords (for the ergonomic usage) - if the property has any keywords. Also, implements those units traits on data types