bevy_reflect

Function tuple_debug

Source
pub fn tuple_debug(dyn_tuple: &dyn Tuple, f: &mut Formatter<'_>) -> Result
Expand description

The default debug formatter for Tuple types.

ยงExample

use bevy_reflect::Reflect;

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

// Output:

// (
//   1,
//   2,
//   3,
// )