Attribute Macros§
Derive Macros§
- From
Inner - Given an enum whose variants are all singular tuples, derive
From<InnerType>
for each variant’s inner type. - From
StrJson - From
Value - Derives
Into<Value>
andFrom<Value>
fromnetidx
for the given type. - Newtype
- TryInto
AnyInner - Given an enum whose variants are all singular tuples, derive
Enum: TryInto<MaybeSplit<Enum, Inner>>
for each variant’s inner type.