Type Alias style::values::computed::svg::SVGWidth

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

An non-negative wrapper of SVGLength.

Aliased Type§

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

Variants§

§

LengthPercentage(NonNegative<LengthPercentage>)

<length> | <percentage> | <number>

§

ContextValue

context-value

Implementations§

source§

impl SVGWidth

source

pub fn one() -> Self

1px.