❗ disclaimer
This is just a proof of concept for now, and it is by no means meant to be used yet.
This is a retained mode User Interface library.
widget
for user types.Using the window
feature, it is very easy to draw a widget in a winit
window.
```rust use kitsune_ui::window::{Window, Result};
async fn main() -> Result<()> { let widget = 'a';
let window = Window::new(widget).await?;
window.run();
Ok(())
} ```
Here the widget
could be any value that implements the kitsune_ui::widget::Widget
trait.