Structs§
- Align
- Auto
Color - Color
- Content
Align - Hatch
- Hatch fill pattern: a character repeated as background fill with a color.
- Importance
Bitset - Bitset tracking which
Styleproperties carry!important. - Keyline
- Keyline border drawn between child widgets.
- Offset
- Property
Transition - Per-property transition declaration.
- Spacing
- 4-side spacing (used for both padding and margin).
- Style
- Text
Style Flags - Text style flags for compound text-style properties (border-title-style, link-style, etc.).
- Theme
- Tint
Enums§
- Border
Edge - Border
Type - BoxSizing
- Constrain
- Controls how floating/overlay elements are constrained to their container or viewport.
- Display
- Dock
- Horizontal
Align - Keyline
Type - Layout
- Offset
Value - A single offset axis value: either absolute cells or a percentage of the widget’s own size.
- Overflow
- Overlay
Mode - Pointer
- Position
- Scalar
- CSS size value with unit support.
- Scrollbar
Gutter - Scrollbar
Visibility - Split
- Style
Property - Identifies a CSS property on
Stylefor importance tracking. - Text
Align - Text
Overflow - Text
Wrap - Transition
Timing - Vertical
Align - Visibility
Functions§
- parse_
auto_ color_ like - parse_
color_ like - resolve_
scalar - Resolve a
Scalarto a concrete cell count.
Type Aliases§
- Margin
- Backward-compatible alias — existing code that uses
Marginkeeps working.