mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 11:01:54 +00:00
119aa452b6
Now the Element trait is designed to be wrapped in a Lifecycle enum that gets placed inside an ElementBox. This allows the framework to store data on behalf of the Element implementation, such as sizes, bounds, and also implementation-specific LayoutState and PaintState types. This makes it easier to reason about which data is available in each Element method. |
||
---|---|---|
.. | ||
grammars/context-predicate | ||
src | ||
build.rs | ||
Cargo.toml |