pub type NonNegativeNumber = NonNegative<Number>;Expand description
A Number which is >= 0.0.
Aliased Type§
#[repr(transparent)]pub struct NonNegativeNumber(pub Number);Tuple Fields§
§0: NumberImplementations§
Trait Implementations§
Source§impl One for NonNegativeNumber
impl One for NonNegativeNumber
Source§impl Parse for NonNegativeNumber
impl Parse for NonNegativeNumber
Source§fn parse(
context: &ParserContext<'_>,
input: &mut Parser<'_>,
) -> Result<Self, ParseError>
fn parse( context: &ParserContext<'_>, input: &mut Parser<'_>, ) -> Result<Self, ParseError>
Parse a value of this type. Read more