Module layout

Module layout 

Source

Modules§

base
domain_write
fixed
flex
grid
leaf
list
root
text

Structs§

Node
The standard layout node. Expects the layout properties, which must be compatible with the layout description D provided, which also determines the type that contains the children. A unique ID must be provided, and a renderable is optional - it will be passed to staging if provided. The layer, if provided will create a new layer operation with the given color and rotation. This is normally used to do correct transparency.

Traits§

Desc
Layout
Represents an arbitrary layout node that hasn’t been staged yet. The vast majority of the time, components should simply use the standard Node implementation of this trait, which handles most common layout cases. However, some components, like the text component, have complex layout logic or special cases that Node can’t cover.
Staged