Macro ops::def_monoid_generics
source ยท macro_rules! def_monoid_generics { ( $(#[$attr:meta])* $name:ident[$($gen:tt)*] where [$($where:tt)*] = ($ty:ty, $op:expr, $id:expr $(, $marker:ident)? $(,)?) $(,)? ) => { ... }; ( $(#[$attr:meta])* pub $name:ident[$($gen:tt)*] where [$($where:tt)*] = ($ty:ty, $op:expr, $id:expr $(, $marker:ident)? $(,)?) $(,)? ) => { ... }; ( $(#[$attr:meta])* pub($($vis:tt)+) $name:ident[$($gen:tt)*] where [$($where:tt)*] = ($ty:ty, $op:expr, $id:expr $(, $marker:ident)? $(,)?) $(,)? ) => { ... }; }