slint/api
Milian Wolff 69c68b22b2 Also wrap langtype::Type::Struct in an Rc
This makes copying such types much cheaper and will allow us to
intern common struct types in the future too. This further
drops the sample cost for langtype.rs from ~6.6% down to 4.0%.

We are now also able to share/intern common struct types.

Before:
```
  Time (mean ± σ):      1.073 s ±  0.021 s    [User: 0.759 s, System: 0.215 s]
  Range (min … max):    1.034 s …  1.105 s    10 runs

        allocations:            3074261
```

After:
```
  Time (mean ± σ):      1.034 s ±  0.026 s    [User: 0.733 s, System: 0.201 s]
  Range (min … max):    1.000 s …  1.078 s    10 runs

        allocations:            2917476
```
2024-10-28 09:39:54 +01:00
..
cpp Add the accessible-enabled property 2024-10-25 10:20:09 +02:00
node Also wrap langtype::Type::Struct in an Rc 2024-10-28 09:39:54 +01:00
python Also wrap langtype::Type::Struct in an Rc 2024-10-28 09:39:54 +01:00
rs Move printer demo and energy-monitor into new top-level demos/ folder 2024-10-25 12:09:32 +02:00
wasm-interpreter femtovg: Fix warning about deprecated web_sys::set_fill_style 2024-10-16 13:25:00 +02:00