pub type TextDecorationLength = GenericTextDecorationLength<LengthPercentage>;
Expand description

Implements type for text-decoration-thickness property

Aliased Type§

enum TextDecorationLength {
    LengthPercentage(LengthPercentage),
    Auto,
    FromFont,
}

Variants§

§

LengthPercentage(LengthPercentage)

§

Auto

§

FromFont

Implementations§

source§

impl TextDecorationLength

source

pub fn auto() -> Self

Auto value.

source

pub fn is_auto(&self) -> bool

Whether this is the Auto value.