structural-typing 0.1.4

Type-level field presence tracking for Rust structs, inspired by TypeScript
Documentation
1
2
3
4
5
6
7
8
use structural_typing::structural;

#[structural]
struct Simple {
    value: u32,
}

fn main() {}