Convert by name
Procedural macros to derive std::convert::From and std::convert::Into implementations based on field/variant names.
The crate supports structs and enums only. unions are not supported.
Examples
Deriving From
let point = Point2D ;
let vector: Vec2D = point.into;
assert_eq!;
let point2: Point2D = vector.into;
assert_eq!;