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);

// Output:

// [
//   1,
//   2,
//   3,
// ]