Files
craft-libs/crates/ui-contract/tests/it/contract/mod.rs
T
aiongg 6c72055339 A memoized row unit's room follows the row, not its own content; a call's key is its own
A memoized view the row does not narrow shows as in no room, in the row's flow region, and its content sizes from its
content along x; only a row that narrows it cuts its room to the width it gives. The cap of a view the row did not
narrow was its own counted width, so new content changed the view's room and the discard pass ran it again. The
shrink record carries whether the row narrowed the unit.

The replay decision of a pass covers the kept run; each call compares its own key. A row's counting sweep calls the
view with another key (its content shows unbounded): that call no longer decides the pass against the real call
after it, and a sizing call takes the extent the last sizing run measured for its own key.
2026-11-21 10:42:23 +00:00

14 lines
378 B
Rust

//! The component contract and the show pipeline: the steps each shape runs, and the rules the steps keep.
pub(crate) mod fixes;
pub(crate) mod gesture;
pub(crate) mod hit_order;
pub(crate) mod level;
pub(crate) mod memo_key;
pub(crate) mod memo_row;
pub(crate) mod pages;
pub(crate) mod pointer;
pub(crate) mod style;
pub(crate) mod tracked_bind;
pub(crate) mod visited_type;