Crate cosmic_macros
source ·Attribute Macros§
- This impl attribute creates a
fn handler
which receives directed waves and routes them to the first local method which the route selector matches. To implement:
Derive Macros§
- This macro will auto implement the
cosmic_space::wave::exchange::asynch::DirectedHandler
trait. In order to finalize the implementation a#[handler]
attribute must also be specified above one of the impls.