to_attributes

Function to_attributes 

Source
pub fn to_attributes<I: IntoIterator<Item = (impl Into<String>, impl Into<String>)>>(
    arr: I,
) -> HashMap<String, String>
Expand description

Utility function to convert iteratables into attributes hashmap