style::values::specified::svg

Type Alias SVGLength

Source
pub type SVGLength = GenericSVGLength<LengthPercentage>;
Expand description

| | | context-value

Aliased Type§

enum SVGLength {
    LengthPercentage(LengthPercentage),
    ContextValue,
}

Variants§

§

LengthPercentage(LengthPercentage)

<length> | <percentage> | <number>

§

ContextValue

context-value

Trait Implementations§

Source§

impl Parse for SVGLength

Source§

fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>

Parse a value of this type. Read more