Enum parcel_css::properties::text::TextDecorationThickness
source · [−]pub enum TextDecorationThickness {
Auto,
FromFont,
LengthPercentage(LengthPercentage),
}
Expand description
https://www.w3.org/TR/2020/WD-css-text-decor-4-20200506/#text-decoration-width-property
Variants
Auto
FromFont
LengthPercentage(LengthPercentage)
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TextDecorationThickness
impl Send for TextDecorationThickness
impl Sync for TextDecorationThickness
impl Unpin for TextDecorationThickness
impl UnwindSafe for TextDecorationThickness
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more