Overview of Masonry
mainMasonry is a foundational framework designed for building GUI libraries in Rust. It provides a platform-independent manager that owns and maintains a widget tree, along with tools for runtime inspection, unit testing, and debugging.
Key characteristics:
- Not opinionated about abstraction: You can implement immediate-mode, Elm architecture, or functional reactive GUI on top of it.
- Opinionated about internals: Centralizes handling of text focus, pointer interactions, and accessibility events.
- Built on top of:
Imaging(Vello/wgpu),Parley(text stack), andAccessKit(accessibility). - Target Audience: Developers creating GUI libraries. If you are building a standard application, consider using Xilem, which is built on top of Masonry.