bevy_reflectFunction set_debug
Source pub fn set_debug(dyn_set: &dyn Set, f: &mut Formatter<'_>) -> Result
Expand description
The default debug formatter for Set
types.
ยงExample
use bevy_reflect::Reflect;
let mut my_set = HashSet::new();
my_set.insert(String::from("Hello"));
println!("{:#?}", &my_set as &dyn Reflect);