Function bevy::reflect::tuple_debug

source ·
pub fn tuple_debug(
    dyn_tuple: &(dyn Tuple + 'static),
    f: &mut Formatter<'_>
) -> Result<(), Error>
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,
// )