Type Alias style::values::specified::NonNegativeNumber
source · pub type NonNegativeNumber = NonNegative<Number>;
Expand description
A Number which is >= 0.0.
Aliased Type§
struct NonNegativeNumber(pub Number);
Fields§
§0: Number
Implementations§
Trait Implementations§
source§impl One for NonNegativeNumber
impl One for NonNegativeNumber
source§impl Parse for NonNegativeNumber
impl Parse for NonNegativeNumber
source§fn parse<'i, 't>(
context: &ParserContext<'_>,
input: &mut Parser<'i, 't>,
) -> Result<Self, ParseError<'i>>
fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>
Parse a value of this type. Read more