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