Crate raui_quick_start
source Β·Expand description
Tiny library to get you started learning RAUI as quick as possible π
Example
// Import the builder
use raui_quick_start::RauiQuickStartBuilder;
// Create the builder
RauiQuickStartBuilder::default()
// Set our window title
.window_title("My RAUI App".into())
// Set the RAUI widget tree for our app
.widget_tree(widget! {
(my_widget)
})
// Build the app
.build()
.expect("Error building quick start")
// And run it! π
.run()
.expect("Error running RAUI app");
Re-exports
pub use tetra;
Structs
- The quick-start builder
- Builder for
RauiQuickStart
.
Enums
- Error type for RauiQuickStartBuilder