Expand description
§Mogwai: Cross-Platform UI Library
Mogwai is a Rust library for building UI components that work across platforms, but primarily in the browser.
§Key Concepts
- Low boilerplate view construction: Use the
rsx!macro to reduce boilerplate. - Async event handling: Events are futures, not callbacks.
- Cross-platform support: View traits ensure operations are cross-platform, with room for specialization.
- Idiomatic Rust: Widgets are Rust types
Mogwai provides tools to implement these concepts efficiently, promoting flexibility and performance.
Modules§
- an_
introduction - Welcome!
- future
- Utilitites for working with futures.
- prelude
- Common prelude between all platforms.
- proxy
- Data update mechanism
- ssr
- Server-Side Rendering (SSR)
- sync
- Synchronization primitives
- time
- Time utilities
- view
- Cross-platform view traits
- web
web-sysview implementation
Type Aliases§
- Str
- An alias for
Cow<'static, str>.