macro_rules! variant { { $($id:tt : $ty:expr);* $(;)? } => { ... }; }
Expand description
Construct a variant type, e.g., variant!{ tag: <()>::ty() }
.
macro_rules! variant { { $($id:tt : $ty:expr);* $(;)? } => { ... }; }
Construct a variant type, e.g., variant!{ tag: <()>::ty() }
.