debug3 0.4.1

Space Efficient Pretty Printer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use debug3::{pprint, Debug};

#[derive(Debug)]
struct Triple<X, Y, Z> {
    x: X,
    y: Y,
    z: Z,
}

struct NoDebug;

fn main() {
    pprint(Triple {
        x: 1u8,
        y: 2u16,
        z: NoDebug,
    });
}