Trait glsl_lang::parse::IntoParseBuilderExt

source ·
pub trait IntoParseBuilderExt<'i> {
    type Lexer: LangLexer<'i>;

    // Required method
    fn builder<'o, 'c, 'p, T>(
        self,
    ) -> ParseBuilder<'i, 'o, 'c, 'p, Self::Lexer, T>
       where T: HasParser;
}
Expand description

Trait for creating parse builders from lexer inputs

Required Associated Types§

source

type Lexer: LangLexer<'i>

Type of the lexer associated with this input

Required Methods§

source

fn builder<'o, 'c, 'p, T>(self) -> ParseBuilder<'i, 'o, 'c, 'p, Self::Lexer, T>
where T: HasParser,

Create a builder for this lexer input

Object Safety§

This trait is not object safe.

Implementors§