Skip to main content

Module position

Module position 

Source
Expand description

CSS properties for positioning elements: position, top, right, bottom, left, and z-index. Types defined here are consumed by the layout solver to resolve positioned elements.

Structs§

LayoutInsetBottom
LayoutLeft
LayoutRight
LayoutTop
ParseIntErrorWithInput
Wrapper for ParseIntError that stores the error message and original input as owned strings for FFI compatibility.

Enums§

LayoutInsetBottomParseError
LayoutInsetBottomParseErrorOwned
LayoutLeftParseError
LayoutLeftParseErrorOwned
LayoutPosition
Represents a position attribute - default: Static
LayoutPositionParseError
LayoutPositionParseErrorOwned
LayoutRightParseError
LayoutRightParseErrorOwned
LayoutTopParseError
LayoutTopParseErrorOwned
LayoutZIndex
Represents a z-index attribute - controls stacking order of positioned elements
LayoutZIndexParseError
LayoutZIndexParseErrorOwned

Functions§

parse_layout_bottom
parse_layout_left
parse_layout_position
parse_layout_right
parse_layout_top
parse_layout_z_index