Skip to main content

Crate bevy_react_macros

Crate bevy_react_macros 

Source
Expand description

Proc-macro support for bevy-react.

Provides react_message, the attribute that turns a plain struct into a registrable React message payload.

Attribute Macros§

react_event
Turn a struct into a typed React event payload (a Bevy → React broadcast).
react_message
Turn a struct into a typed React message payload.
react_request
Turn a struct into a typed React request payload (a React → Bevy call that awaits a typed reply).