Macro automerge_test::list
source · macro_rules! list {
(@single $($x:tt)*) => { ... };
(@count $($rest:tt),*) => { ... };
(@inner { $($value:expr,)+ }) => { ... };
(@inner { $($value:expr),* }) => { ... };
($($inner:tt,)+) => { ... };
($($inner:tt),*) => { ... };
}Expand description
Construct RealizedObject::Sequence. This macro represents a sequence of values
list![
{
"value1",
"value2",
}
];The list above would represent a list with a conflict on the 0 index. The values can be
anything which implements Into<RealizedObject> including nested calls to
map! or list!.