Crate assert_type_match

Source

Attribute Macrosยง

assert_type_match
An attribute macro that can be used to statically verify that the annotated struct or enum matches the structure of a foreign type.