Function bevy::reflect::list_debug

pub fn list_debug(
    dyn_list: &(dyn List + 'static),
    f: &mut Formatter<'_>
) -> Result<(), Error>
Expand description

The default debug formatter for List types.

Example

use bevy_reflect::Reflect;

let my_list: &dyn Reflect = &vec![1, 2, 3];
println!("{:#?}", my_list);

// Output:

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