Crate beet_rsx_macros

Crate beet_rsx_macros 

Source

Macros§

rsx
Parse [rsmtl] tokens into a Bundle.
rsx_combinator
used for testing, create combinator instance from a string literal
rsx_combinator_tokens
used for testing, create combinator tokens from a string literal
rsx_tokens
used for testing, this macro expands to a tokens respresentation of a bundle

Attribute Macros§

template
Mark a function as a template function. This creates a struct of the same name, passing all prop attributes to the fields.

Derive Macros§

AttributeBlock
Types that can be used as an attribute block, where each field is applied as Attributes of the entity. Use [#[field(flatten)]] for the key to be discarded, and the value to be applied by calling into_bundle. This allows for a nested AttributeBlock.
Buildable
Allow a struct to be included as a #[field(flatten)] of another struct
Props
Adds a builder pattern to a struct enabling construction as an rsx component