pub fn map_debug( dyn_map: &(dyn Map + 'static), f: &mut Formatter<'_> ) -> Result<(), Error>
The default debug formatter for Map types.
Map
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", // }