mirror of https://github.com/linebender/xilem
![]() This adds a `force` which is basically a specialized `Memoize` without any bound data. This also cleans up `Memoize` a little bit (mostly code-aesthetic stuff, but also adds `State` and `Action` params to the view, so that it doesn't offer weird surprises when composing it with views like `Adapt`). The `Arc` view is also fixed, as it didn't support force rebuilding yet, which is relevant for e.g. async, e.g. the `MemoizedAwait` view would not work inside an `Arc<impl View>` currently. --------- Co-authored-by: Daniel McNab <36049421+DJMcNab@users.noreply.github.com> |
||
---|---|---|
.. | ||
common | ||
any_view.rs | ||
arc.rs | ||
array_sequence.rs | ||
base_sequence.rs | ||
one_of.rs | ||
orphan.rs | ||
tuple_sequence.rs | ||
vec_sequence.rs |