Attribute Macro create_trait_from_enum_impl

Source
#[create_trait_from_enum_impl]
Expand description

Creates a custom trait <DataType>Storage

§Used on

  • data types

§Purpose

Based on the provided data type impl:

  • creates a constructor method, for the data types (if is combined),
  • implement methods from the targetted data types for the ergonomic usage with properties