[][src]Struct combine_language::Identifier

pub struct Identifier<PS, P> {
    pub start: PS,
    pub rest: P,
    pub reserved: Vec<Cow<'static, str>>,
}

Defines how to define an identifier (or operator)

Fields

start: PS

Parses a valid starting character for an identifier

rest: P

Parses the rest of the characthers in a valid identifier

reserved: Vec<Cow<'static, str>>

A number of reserved words which cannot be identifiers

Auto Trait Implementations

impl<PS, P> RefUnwindSafe for Identifier<PS, P> where
    P: RefUnwindSafe,
    PS: RefUnwindSafe
[src]

impl<PS, P> Send for Identifier<PS, P> where
    P: Send,
    PS: Send
[src]

impl<PS, P> Sync for Identifier<PS, P> where
    P: Sync,
    PS: Sync
[src]

impl<PS, P> Unpin for Identifier<PS, P> where
    P: Unpin,
    PS: Unpin
[src]

impl<PS, P> UnwindSafe for Identifier<PS, P> where
    P: UnwindSafe,
    PS: 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.