Macro panorama_proto_common::sep_list [−][src]
macro_rules! sep_list { ($t : expr) => { ... }; ($t : expr, $d : expr) => { ... }; (? $t : expr) => { ... }; (? $t : expr, $d : expr) => { ... }; }
Expand description
sep_list!(t, d)
represents t *(d t)
and automatically collapses it into
Vec<T>
.
Also sep_list!(?t, d)
represents [t *(d t)]
and will default to an empty
vec.
If d
is not passed then it defaults to SP
.