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§
Sourcefn int_no_digits() -> Self
fn int_no_digits() -> Self
Create a value indicating that an integer literal contains no digits.
Sourcefn not_int_literal() -> Self
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.