TextDecorationUnit
enum · ferroui-base · v0.5.0
enum TextDecorationUnit
Specifies the unit type of either a text decoration offset or thickness value.
Members
FontRecommended
FontRecommended
A unit value that is relative to the font used for the text decoration. If the decoration spans multiple fonts, an average recommended value is calculated. This is the default value.
FontRenderingEmSize
FontRenderingEmSize
A unit value that is relative to the em size of the font. The value of the offset or thickness is equal to the offset or thickness value multiplied by the font em size.
Pixel
Pixel
A unit value that is expressed in pixels.
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.