typeinfo 0.1.1

Runtime type information for POD types.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[macro_use]
extern crate typeinfo;

def! {
    struct Foo {
        a: i32,
        b: i32,
    }

    pub struct Bar { //~ ERROR no rules expected the token `pub`
        a: i32,
        b: i32,
    }
}