[−][src]Crate alchemy_lifecycle
Lifecycle aspects for Alchemy.
What's a lifecycle? Well, it includes things like delegates (App+Window),
where they act as hooks for the system to inform you of events. It includes
things like Component
s, which instruct your views how to exist.
It also includes the RSX
enum, which is what render()
methods generally
return. It's common enough to multiple crates, and is intricately linked to the
Component
lifecycle, so it'll live here.
This crate also includes the diffing and patching system for the widget tree -
it needs to live with the Component
lifecycle to enable state updating.
Modules
error | Implements an Error type. Currently we just alias this to
Box |
rsx | This module holds pieces pertaining to |
traits | Traits that are used in Alchemy. Alchemy implements a React-based Component lifecycle, coupled with a delegate pattern inspired by those found in AppKit/UIKit. |
Macros
text |
Structs
Arc | A thread-safe reference-counting pointer. 'Arc' stands for 'Atomically Reference Counted'. |
ComponentKey | Used as a key for Component storage. Component instances receive these in their constructor methods, and should retain them as a tool to update their state. |
RENDER_ENGINE |