Skip to main content

Crate telar_layout_core

Crate telar_layout_core 

Source

Structs§

AlignItems
Used to control how child nodes are aligned. For Flexbox it controls alignment in the cross axis. For Grid it controls alignment in the block axis.
LayoutEngine
LayoutStyle
Margin
A box’s four margins, named by axis so they follow the writing direction rather than the screen.

Enums§

AvailableSpace
The amount of space available to a node in a given axis https://www.w3.org/TR/css-sizing-3/#available
Direction
The writing direction the layout resolves logical edges against.
LayoutError
SizeDimension
TemplateTrack

Type Aliases§

JustifyContent
Sets the distribution of space between and around content items. For Flexbox it controls alignment in the main axis. For Grid it controls alignment in the inline axis.
MeasureFn
Per-node measure callback: given the available main-axis width, returns the node’s intrinsic (width, height). Used for text nodes whose height depends on how many lines the content wraps into at the resolved width.
NodeId