Derive Macro oxygengine_user_interface::MessageData[]

#[derive(MessageData)]
{
    // Attributes available to this derive:
    #[remote]
    #[message_data]
}
Expand description

Derive macro for the MessageData trait

Example

#[derive(MessageData, Debug, Clone)]
pub enum AppMessage {
    ShowPopup(usize),
    ClosePopup,
}