Type Definition style::values::specified::svg::SVGWidth
[−]
[src]
type SVGWidth = SVGLength<NonNegativeSvgLengthOrPercentageOrNumber>;
A non-negative version of SVGLength.
Trait Implementations
impl Parse for SVGWidth
[src]
fn parse<'i, 't>(
context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<Self, ParseError<'i>>
[src]
context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<Self, ParseError<'i>>
Parse a value of this type. Read more
impl From<NonNegativeSvgLengthOrPercentageOrNumber> for SVGWidth
[src]
fn from(length: NonNegativeSvgLengthOrPercentageOrNumber) -> Self
[src]
Performs the conversion.