mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
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.