For example I want to map Foo to Bar, but in Bar I have a C that cannot possibly be mapped from A. But ideally “impl From for Bar" should work, as every enum item in Foo can be mapped to Bar. Does this crate support this case?
enum Foo {
A,
B,
}
enum Bar {
A,
B,
C,
}
For example I want to map Foo to Bar, but in Bar I have a C that cannot possibly be mapped from A. But ideally “impl From for Bar" should work, as every enum item in Foo can be mapped to Bar. Does this crate support this case?