Trait NumLiteral
arithmetic_parser::grammars
pub trait NumLiteral: 'static + Copy + Num + Debug + Neg<Output = Self> + Pow<Self, Output = Self> { fn parse(input: Span) -> NomResult<Self>; }
Numeric literal used in NumGrammars.
NumGrammar
fn parse(input: Span) -> NomResult<Self>
Tries to parse a literal.
impl NumLiteral for f32
impl NumLiteral for f64