[][src]Struct combine_language::LanguageDef

pub struct LanguageDef<IS, I, OS, O, CL, CS, CE> {
    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> RefUnwindSafe for LanguageDef<IS, I, OS, O, CL, CS, CE> where
    CE: RefUnwindSafe,
    CL: RefUnwindSafe,
    CS: RefUnwindSafe,
    I: RefUnwindSafe,
    IS: RefUnwindSafe,
    O: RefUnwindSafe,
    OS: RefUnwindSafe
[src]

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
[src]

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
[src]

impl<IS, I, OS, O, CL, CS, CE> Unpin for LanguageDef<IS, I, OS, O, CL, CS, CE> where
    CE: Unpin,
    CL: Unpin,
    CS: Unpin,
    I: Unpin,
    IS: Unpin,
    O: Unpin,
    OS: Unpin
[src]

impl<IS, I, OS, O, CL, CS, CE> UnwindSafe for LanguageDef<IS, I, OS, O, CL, CS, CE> where
    CE: UnwindSafe,
    CL: UnwindSafe,
    CS: UnwindSafe,
    I: UnwindSafe,
    IS: UnwindSafe,
    O: UnwindSafe,
    OS: UnwindSafe
[src]

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.