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

pub struct TokenAndSpan {
    pub tok: Token,
    pub sp: Span,
}

Fields

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. Read more

impl Default for TokenAndSpan
[src]

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

Auto Trait Implementations

impl !Send for TokenAndSpan

impl !Sync for TokenAndSpan