reflectix 0.1.0

Primitive run-time type reflection for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use reflectix::*;

#[derive(reflectix::TypeInfo)]
pub struct Test {
    a: i32,
    b: u32,
}

#[test]
pub fn test_name() {
    assert_eq!(Test::INFO.ident, "Test")
}