1 2 3 4 5 6 7 8
use into_variant::VariantFrom; fn main() {} #[derive(VariantFrom)] struct Struct { value: u32, }