carnelian

Macro derive_handle_message

Source
macro_rules! derive_handle_message {
    (
        $(
            $message_type:ty => $handler_method:ident
        ),
        +
    ) => { ... };
}
Expand description

Macro to implement a handle message trait method that delegates known types to other methods on the struct implementing ViewAssistant.