[−][src]Function map_to_javascript_html::hash_map_to_javascript_html_beautify
pub fn hash_map_to_javascript_html_beautify<K: Display + Eq + Hash, V: Display, S: AsRef<str>>(
hash_map: &HashMap<K, V>,
variable_name: S,
keys: &[K],
spaces_a_tab: u8,
tab_count: u8
) -> Result<String, String>
Convert a HashMap to beautified JavaScript code in HTML.