Skip to main content

map

Macro map 

Source
macro_rules! map {
    ($($key:expr => $val:expr),* $(,)?) => { ... };
}
Expand description

Build a Value::Map from key => value pairs.

Keys are converted with to_string; values with Into<Value>.