Macro frunk_enum_core::variant
source · macro_rules! variant { (($($repeated: ty),*), $value: expr) => { ... }; (($($repeated: ty,)*), $value: expr) => { ... }; ($name_type: ty, $value: expr) => { ... }; ($name_type: ty, $value: expr, $name: expr) => { ... }; }
Expand description
A macro to ease the creation of Variant
s. See frunk::field!
for usage.