macro_rules! def_signal {
(
$(#[$meta:meta])*
impl Notifies<$signal_str:literal as $signal:tt> for $obj:path { $($inner:tt)* }
) => { ... };
}Expand description
The same syntax as impl_signal, but also defines the corresponding signal struct.