Struct literalext::IntLit [] [src]

pub struct IntLit { /* fields omitted */ }

A type which represents an integer literal.

Methods

impl IntLit
[src]

Get the suffix written on the integer literal.

Returns None if the value overflows, or if the suffix is wrong.

Returns None if the value overflows, or if the suffix is wrong.

Returns None if the value overflows, or if the suffix is wrong.

Returns None if the value overflows, or if the suffix is wrong.

Returns None if the value overflows, or if the suffix is wrong.

Returns None if the value overflows, or if the suffix is wrong.

Returns None if the value overflows, or if the suffix is wrong.

Returns None if the value overflows, or if the suffix is wrong.

Trait Implementations

impl Debug for IntLit
[src]

Formats the value using the given formatter.

impl Copy for IntLit
[src]

impl Clone for IntLit
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for IntLit
[src]

impl PartialEq for IntLit
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.