Derive Macro PropertyFromDataType

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

Implements a Rust’s std trait - From.

§Used on

  • properties

§Usage

Based on property allowed data type(s), it implements this trait to set as its unit data type value (using UnitDataTypeContainer)