Module alignment

Module alignment 

Source
Expand description

Defines alignment options for layout components.

Enumsยง

Alignment
Specifies the alignment of a child within its parent container, both vertically and horizontally. Useful for positioning a single child inside a container, such as in a crate::boxed::boxed component.
CrossAxisAlignment
Specifies how children are aligned along the cross axis (perpendicular to the layout direction) in layout containers such as crate::row::row or crate::column::column.
MainAxisAlignment
Specifies how children are placed along the main axis (the direction of layout) in layout containers such as crate::row::row or crate::column::column.