Derive Macro architect_derive::TryIntoAnyInner
source · #[derive(TryIntoAnyInner)]
{
// Attributes available to this derive:
#[transitive]
}
Expand description
Given an enum whose variants are all singular tuples, derive
Enum: TryInto<MaybeSplit<Enum, Inner>> for each variant’s inner type.
Each variant’s inner type must be distinct, otherwise the macro expansion will produce conflicting impls, which presents as a compilation error.