IntLiteralE

Trait IntLiteralE 

Source
pub trait IntLiteralE: Eoi {
    // Required methods
    fn int_no_digits() -> Self;
    fn not_int_literal() -> Self;
}
Expand description

A trait for error types that can represent errors occurring when parsing an integer literal.

Required Methods§

Source

fn int_no_digits() -> Self

Create a value indicating that an integer literal contains no digits.

Source

fn not_int_literal() -> Self

Create a value indicating that the input does not contain (even the beginning of) an integer literal.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§