gxi 0.6.1

Zero-Cost Cross-Platform Native Widget based Component System in Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
# Platforms

To achieve a common api for all platforms. Each platform needs to export

1. a `run` function

```rust
    pub fn run<C: crate::VNode + crate::Renderable + 'static>() {}
```

2. `NativeWidget`
3. `NativeContainerWidget`
4. `Element` with `from_str(String, WeakNodeType) -> Self`