sp_core
macro_rules! map { ($( $name:expr => $value:expr ),* $(,)? ) => { ... }; }
Initialize a key-value collection from array.
Creates a vector of given pairs and calls collect on the iterator from it. Can be used to create a HashMap.
collect
HashMap