Derive Macro ImplDataTypeTraits

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

Implements a custom trait - <data type name>Storage.

§Used on

  • data types

§Usage

Based on data type allowed units from its own enum, it implements the <data type name>Storage trait from each variant.