[][src]Module alchemy_lifecycle::rsx

This module holds pieces pertaining to RSX element(s), which are lightweight structs that represent how something should be flushed to the screen. Alchemy uses these to build and alter UI; they're typically returned from render() methods.

Structs

VirtualNode

A VirtualNode is akin to an Element in React terms. Here, we provide a way for lazy Component instantiation, properties, children and so on.

VirtualText

Currently a wrapper for String, but could be something else down the road. Frees us from needing to change the public API later.

Enums

RSX

An enum representing the types of nodes that the system can work with. None, VirtualText, or VirtualNode.