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 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