bevy::reflectFunction array_debug
source pub fn array_debug(
dyn_array: &(dyn Array + 'static),
f: &mut Formatter<'_>,
) -> Result<(), Error>
Expand description
The default debug formatter for Array
types.
ยงExample
use bevy_reflect::Reflect;
let my_array: &dyn Reflect = &[1, 2, 3];
println!("{:#?}", my_array);