countme 3.0.1

Counts the number of live instances of types
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Default)]
struct Widget {
    _t: countme::Count<Self>,
}

fn main() {
    let w1 = Widget::default();
    let _w2 = Widget::default();
    drop(w1);
    let _w3 = Widget::default();
}