Type Alias style::values::specified::svg::SVGWidth

source ·
pub type SVGWidth = GenericSVGLength<NonNegativeLengthPercentage>;
Expand description

A non-negative version of SVGLength.

Aliased Type§

enum SVGWidth {
    LengthPercentage(NonNegative<LengthPercentage>),
    ContextValue,
}

Variants§

§

LengthPercentage(NonNegative<LengthPercentage>)

<length> | <percentage> | <number>

§

ContextValue

context-value

Trait Implementations§

source§

impl Parse for SVGWidth

source§

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

Parse a value of this type. Read more