into_variant 0.3.0

Easily convert your types into the corresponding enum variant
Documentation
1
2
3
4
5
6
error: into_variant does not support complex types; fields must be a simple struct or enum
       help: you can skip a variant by annotating it with `#[into_variant(skip)]`
 --> tests_error/tuple_field.rs:5:10
  |
5 |     Color((Color, Color)),
  |          ^^^^^^^^^^^^^^^^