[][src]Struct combine_language::LanguageDef

pub struct LanguageDef<IS, I, OS, O, CL, CS, CE> where
    I: Parser<Output = char>,
    IS: Parser<Input = I::Input, Output = char>,
    O: Parser<Input = I::Input, Output = char>,
    OS: Parser<Input = I::Input, Output = char>,
    CL: Parser<Input = I::Input, Output = ()>,
    CS: Parser<Input = I::Input, Output = ()>,
    CE: Parser<Input = I::Input, Output = ()>, 
{ pub ident: Identifier<IS, I>, pub op: Identifier<OS, O>, pub comment_line: CL, pub comment_start: CS, pub comment_end: CE, }

A struct type which contains the necessary definitions to construct a language parser

Fields

ident: Identifier<IS, I>

How to parse an identifier

op: Identifier<OS, O>

How to parse an operator

comment_line: CL

Describes the start of a line comment

comment_start: CS

Describes the start of a block comment

comment_end: CE

Describes the end of a block comment

Auto Trait Implementations

impl<IS, I, OS, O, CL, CS, CE> Send for LanguageDef<IS, I, OS, O, CL, CS, CE> where
    CE: Send,
    CL: Send,
    CS: Send,
    I: Send,
    IS: Send,
    O: Send,
    OS: Send

impl<IS, I, OS, O, CL, CS, CE> Sync for LanguageDef<IS, I, OS, O, CL, CS, CE> where
    CE: Sync,
    CL: Sync,
    CS: Sync,
    I: Sync,
    IS: Sync,
    O: Sync,
    OS: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]