Struct twig::tokens::LexerOptions [] [src]

pub struct LexerOptions {
    pub tag_comment: Delimiters,
    pub tag_block: Delimiters,
    pub tag_variable: Delimiters,
    pub whitespace_trim: &'static str,
    pub interpolation: Delimiters,
}

Lexer options.

Fields

tag_comment
tag_block
tag_variable
whitespace_trim
interpolation

Methods

impl LexerOptions

fn default() -> LexerOptions

Trait Implementations

Derived Implementations

impl Clone for LexerOptions

fn clone(&self) -> LexerOptions

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

impl Copy for LexerOptions