Type Alias style::values::specified::PositiveInteger
source · pub type PositiveInteger = GreaterThanOrEqualToOne<Integer>;
Expand description
A wrapper of Integer, with value >= 1.
Aliased Type§
struct PositiveInteger(pub Integer);
Fields§
§0: Integer
Trait Implementations§
source§impl Parse for PositiveInteger
impl Parse for PositiveInteger
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