pub trait TupleDebug {
// Required method
fn tuple_debug(&self) -> String;
}Expand description
A trait for debugging tuples.
Part of the tuplities crate.
Required Methods§
Sourcefn tuple_debug(&self) -> String
fn tuple_debug(&self) -> String
Returns a string representation of the tuple for debugging.
§Examples
use tuplities_debug::TupleDebug;
let tuple = (1, "hello", 3.14);
let debug_str = tuple.tuple_debug();
assert_eq!(debug_str, "(1, \"hello\", 3.14)");