Struct syntax::parse::lexer::TokenAndSpan [] [src]

pub struct TokenAndSpan {
    pub tok: Token,
    pub sp: Span,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Fields

🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)

Trait Implementations

impl Clone for TokenAndSpan
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for TokenAndSpan
[src]

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

This method tests for !=.

impl Eq for TokenAndSpan
[src]

impl Debug for TokenAndSpan
[src]

Formats the value using the given formatter.

impl Default for TokenAndSpan
[src]

Returns the "default value" for a type. Read more