Struct slr_lexer::Token [] [src]

pub struct Token<'l> {
    pub kind: TokenKind<'l>,
    pub span: Span,
}

Fields

kind: TokenKind<'l> span: Span

Trait Implementations

impl<'l> Clone for Token<'l>
[src]

fn clone(&self) -> Token<'l>

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl<'l> Copy for Token<'l>
[src]

impl<'l> Debug for Token<'l>
[src]

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

Formats the value using the given formatter.