macro_rules! s_no_extra_traits {
($(
$(#[$attr:meta])*
$pub:vis $t:ident $i:ident { $($field:tt)* }
)*) => { ... };
(it: $(#[$attr:meta])* $pub:vis union $i:ident { $($field:tt)* }) => { ... };
(it: $(#[$attr:meta])* $pub:vis struct $i:ident { $($field:tt)* }) => { ... };
}Expand description
Implement Clone, Copy, and Debug for one or more structs/unions, but exclude PartialEq,
Eq, and Hash.
Also mark the type with repr(C).
Most structs will prefer to use s.