Using macro expansion, I can expand the captured elements into an array:
let array = &[ $($rest),* ]
However, can I expand the captured elements' labels into an array? I know stringify!($foo) allowes me to get the label of $foo, what about an array of all of the labels?
Something like:
let array = &[ $( $stringify!(rest) ),* ]