Skip to main content

Crate cranpose_ui_layout

Crate cranpose_ui_layout 

Source
Expand description

Layout contracts & policies for Cranpose

Modules§

prelude

Structs§

Alignment
Alignment across both axes used for positioning content within a box.
Constraints
Constraints used during layout measurement.
FlexParentData
Parent data for flex layouts (Row/Column weights and alignment).
LayoutModifierMeasureResult
Result of a layout modifier measurement operation.
MeasureResult
Result of a measurement operation.
Placement
Placement information for a measured child.

Enums§

Axis
Represents the primary axis of flex layout (Row or Column).
HorizontalAlignment
Alignment along the horizontal axis.
IntrinsicSize
Specifies how to size a component based on its intrinsic measurements.
LinearArrangement
Arrangement strategy matching Jetpack Compose’s linear arrangements.
VerticalAlignment
Alignment along the vertical axis.

Traits§

Arrangement
Trait implemented by arrangement strategies that distribute children on an axis.
Measurable
Object capable of measuring a layout child and exposing intrinsic sizes.
MeasurePolicy
Policy responsible for measuring and placing children.
MeasureScope
Scope for measurement operations.
Placeable
Result of running a measurement pass for a single child.