pub type NonNegativeInteger = NonNegative<Integer>;Expand description
An Integer which is >= 0.
Aliased Type§
#[repr(transparent)]pub struct NonNegativeInteger(pub Integer);Tuple Fields§
§0: IntegerTrait Implementations§
Source§impl Parse for NonNegativeInteger
impl Parse for NonNegativeInteger
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