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

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

Fields

tok
sp

Trait Implementations

Derived Implementations

impl Debug for TokenAndSpan

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for TokenAndSpan

impl PartialEq for TokenAndSpan

fn eq(&self, __arg_0: &TokenAndSpan) -> bool

fn ne(&self, __arg_0: &TokenAndSpan) -> bool

impl Clone for TokenAndSpan

fn clone(&self) -> TokenAndSpan

fn clone_from(&mut self, source: &Self)