

Examples
Rust native UI framework.
```rust
fn circle(radius: f32) -> impl View {
Canvas::new(move |layout, canvas| {
let color = Color4f::new(1., 0., 0., 1.);
canvas.drawcircle((radius, radius), radius, &Paint::new(color, None));
})
.size(Size::from_points(radius * 2., radius * 2.))
}
fn app() -> impl View<()> {
remember(
|| 50.,
|radius: &mut f32| clickable(Role::Button, |r: &mut f32| r *= 2., circle(radius)),
)
}
```