TextAlignment
enum · ferroui-base · v0.5.0
enum TextAlignment
Defines how text is aligned.
Members
Left
Left
The text is left-aligned.
Center
Center
The text is centered.
Right
Right
The text is right-aligned.
Start
Start
The beginning of the text is aligned to the edge of the available space.
End
End
The end of the text is aligned to the edge of the available space.
DetectFromContent
DetectFromContent
Text alignment is inferred from the text content.
When the text alignment is calculated without taking the flow direction
into account this value is treated as TextAlignment::Left.
Justify
Justify
Text is justified within the available space.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHashMarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.