Skip to main content

Crate ferroui_view_macros

Crate ferroui_view_macros 

Source
Expand description

ferroui-view-macros

The macros of ferroui-view: rsx! writes an element tree in a form close to XAML and expands to the builders, and #[component] turns a function into a component with a builder of its parameters. Errors point at the user’s code: an attribute that a class has no setter for is a missing method of its builder.

Macros§

rsx
An element tree, expanded to the builders of ferroui-view.

Attribute Macros§

component
A component: a function whose parameters are its properties, with a builder so that rsx! and the builders use it like a control.