[][src]Macro cfgmap::list

macro_rules! list {
    ($($tt:tt),*) => { ... };
}

Creates a CfgValue::List from the values passed. Works very similarly to the vec! macro.

Examples:

let arr1 = list![2, 3.2, "hello there"];
let arr2 = value!(vec![value!(2), value!(3.2), value!("hello there")]);
 
assert_eq!(arr1, arr2);