s_paren

Macro s_paren 

Source
macro_rules! s_paren {
    ($(
        $(#[$attr:meta])*
        $pub:vis struct $i:ident ( $($field:tt)* );
    )*) => { ... };
}
Expand description

Implement Clone, Copy, and Debug for a tuple struct, as well as PartialEq, Eq, and Hash if the extra_traits feature is enabled.

Unlike s!, this does not mark the type with repr(C). Users should provide their own repr attribute via $attr as necessary.