pud 1.1.0

Generate typed, composable, no-std-friendly modifications (“puds”) for Rust structs.
Documentation
1
2
3
4
5
6
7
8
9
fn main() {}

#[::pud::pud]
pub struct Foo { a: u8 }

fn pud_match(pud: FooPud) {
	match pud { FooPud::A(_) => {} };
	_ = FooPud::A(0_u8);
}