Skip to main content

Crate declarative_gpui

Crate declarative_gpui 

Source
Expand description

Declarative ui! macro for building GPUI element trees.

All parsing and expansion logic lives in declarative-gpui-core — a normal library crate, so it can be unit-tested, benchmarked, and fuzzed (proc-macro crates export nothing but their macros, and the proc_macro API is only usable inside a real expansion). This crate is just the entry point converting at the proc_macro / proc_macro2 boundary.

Macros§

ui
Build a GPUI element tree declaratively.