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_filter
Turn a named-field struct into a typed custom regular filter for the layer-based filter/backdropFilter style chains. (Two-input morph filters for the morphFilter style are a separate family — see react_morph_filter.)
react_message
Turn a struct into a typed React message payload.
react_morph_filter
Turn a named-field struct into a typed custom morph filter — a two-input transition for the morphFilter style (blending the frozen old appearance into the live content on a key change).
react_request
Turn a struct into a typed React request payload (a React → Bevy call that awaits a typed reply).