pub fn map_debug(
    dyn_map: &(dyn Map + 'static),
    f: &mut Formatter<'_>
) -> Result<(), Error>
Expand description

The default debug formatter for Map types.

§Example

use bevy_reflect::Reflect;

let mut my_map = HashMap::new();
my_map.insert(123, String::from("Hello"));
println!("{:#?}", &my_map as &dyn Reflect);

// Output:

// {
//   123: "Hello",
// }