Type Alias SVGWidth

Source
pub type SVGWidth = GenericSVGLength<NonNegativeLengthPercentage>;
Expand description

An non-negative wrapper of SVGLength.

Aliased Type§

#[repr(C, u8)]
pub 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.