FlexJustifyContent
enum · ferroui-controls · v0.5.0
enum FlexJustifyContent
Describes the main-axis alignment of items inside a FlexPanel line.
Members
FlexStart
FlexStart = 0
Child items are packed toward the start of the line.
This is the default value.
FlexEnd
FlexEnd = 1
Child items are packed toward the end of the line.
Center
Center = 2
Child items are packed toward the center of the line.
If the leftover free-space is negative, the child items will overflow equally in both directions.
SpaceBetween
SpaceBetween = 3
Child items are evenly distributed in the line, with no space on either end.
If the leftover free-space is negative or there is only a single child
item on the line, this value is identical to
FlexJustifyContent::FlexStart.
SpaceAround
SpaceAround = 4
Child items are evenly distributed in the line, with half-size spaces on either end.
If the leftover free-space is negative or there is only a single child
item on the line, this value is identical to
FlexJustifyContent::Center.
SpaceEvenly
SpaceEvenly = 5
Child items are evenly distributed in the line, with equal-size spaces between each item and on either end.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherMarkupTypedValueTypeRegistrationCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.