Skip to main content

Ratio

Type Alias Ratio 

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

A specified value.

Aliased Type§

#[repr(C)]
pub struct Ratio(pub NonNegative<Number>, pub NonNegative<Number>);

Tuple Fields§

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

Trait Implementations§

Source§

impl Parse for Ratio

Source§

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

Parse a value of this type. Read more