macro_rules! s_paren {
($(
$(#[$attr:meta])*
pub struct $i:ident ( $($field:tt)* );
)*) => { ... };
}
Expand description
Implement Clone
and Copy
for a tuple struct, as well as Debug
, Eq
, Hash
,
and PartialEq
if the extra_traits
feature is enabled.
This is the same as s
but works for tuple structs.