style::values::specified::ratio

Type Alias Ratio

Source
pub type Ratio = Ratio<NonNegativeNumber>;
Expand description

A specified value.

Aliased Type§

struct Ratio(pub NonNegative<Number>, pub NonNegative<Number>);

Fields§

§0: NonNegative<Number>§1: NonNegative<Number>

Trait Implementations§

Source§

impl Parse for Ratio

Source§

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

Parse a value of this type. Read more