Files
craft-libs/crates/tracked
aiongg 02b3ea4a34 craft-ui: bind_tracked! binds several fields of one Tracked at once
bind_tracked!(doc => title, style.size) splits the Tracked into its value and
its write count (a Cell over the count) and gives each field path its own
write-through binding, so the borrow checker rejects overlapping paths. A
binding moves the count at each write that changes its field; making and
reading bindings every pass leaves the revision. Bind::tracked, Field, Place,
Projection and field! are gone: this is the one way to bind a tracked field.
2026-11-19 07:00:52 +00:00
..