Crate brisk_it

Source
Expand description

brisk-it is a macro-based system for transforming a declarative representation into imperative Rust code. Its main application is currently for developing egui user interface.

Modules§

component
Data structure created from parsing a declarative component.
errors
Convenient function to generate errors
generator
Traits and structure used for generating the imperative representation from the declartive representation.
utils
Utility module.

Traits§

Either
This trait is mainly used for Result<T,T> to return the Ok or Err value.
Required
This trait is used for Option to check if required properties have been set.

Functions§

brisk_it
This is the core entry point of the brisk library. It should be used in a macro-proc to trigger the transformation between the declarative representation and generate the Rust code.

Type Aliases§

Result
Result type, which return a token stream with the error