[][src]Macro sp_core::map

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.