Struct malk_lexer::TokensBuf [] [src]

pub struct TokensBuf<'s> {
    pub tokens: Vec<Token<'s>>,
    pub end: TextPos,
}

Fields

Methods

impl<'s> TokensBuf<'s>
[src]

Produce a TokensRef from this TokenBuf

Trait Implementations

impl<'s> Debug for TokensBuf<'s>
[src]

Formats the value using the given formatter.

impl<'s> Clone for TokensBuf<'s>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'s> PartialEq for TokensBuf<'s>
[src]

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

This method tests for !=.