1 2 3 4 5 6
use parse_display::Display; #[derive(Display)] #[display("{0:y}")] struct TestStruct(u32); fn main() {}