Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- macro_rules! impl_num {
- ($i:item) => {
- #[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, Ord, PartialOrd)]
- $i
- }
- }
- impl_num!(struct Foo;);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement