Give the bridge struct counts as they are in docs/ui.md
The text said 49 (the plan's figure); bridge.rs has 51 and studio_bridge.rs 10, and MytsBadge and MytsForm stay in Slint. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0447e6bc92
commit
668c1a8038
1 file changed
+5
-3
+5
-3
@@ -88,9 +88,11 @@ this file is `voelin_ui_vm::chat`. The boundary:
|
||||
- **Values.** A picture is an `ImageRef` (`Arc<ImageSource>`: a file of the
|
||||
engine's cache with its stamp, decoded RGBA pixels, SVG or memory bytes,
|
||||
or none; `size()` reads a file's header). A colour is an `Rgb(u32)`, a
|
||||
shared string an `Arc<str>`, a list a `Vec`. The 49 bridge structs
|
||||
(`bridge.rs`, `studio_bridge.rs`) are plain `Clone + PartialEq + Debug`
|
||||
structs with the field names of the Slint structs in `bridge.slint`.
|
||||
shared string an `Arc<str>`, a list a `Vec`. The bridge structs (51 in
|
||||
`bridge.rs`, 10 in `studio_bridge.rs`) are plain `Clone + PartialEq + Debug`
|
||||
structs with the field names of the Slint structs in `bridge.slint` and
|
||||
`studio-bridge.slint`; `MytsBadge` and `MytsForm`, which have no data source
|
||||
in this build, stay Slint-only.
|
||||
- **Lists.** `list::diff(old, new)` gives `Changes`: updates, removals and
|
||||
insertions by index, in the order to apply them. `bind/rows.rs` applies
|
||||
them to a `VecModel` and converts only the changed rows; a GPUI view
|
||||
|
||||
Reference in new issue
Block a user