Macro for static assert that types implement a trait or not.
Example
Assuming you have the following definitions:
;
;
;
;
;
This should build:
assert_impl!;
assert_impl!;
But this should fail to build:
assert_impl!;
assert_impl!;
Macro for static assert that types implement a trait or not.
Assuming you have the following definitions:
;
;
;
;
;
This should build:
assert_impl!;
assert_impl!;
But this should fail to build:
assert_impl!;
assert_impl!;