[][src]Struct ssexp::MacroHandle

pub struct MacroHandle<'a, T: Iterator<Item = char>> where
    ParsingContext<T>: 'a, 
{ /* fields omitted */ }

A handle for handling the next macro character.

Implementations

impl<'a, T: Iterator<Item = char>> MacroHandle<'a, T>[src]

pub fn call(self, result: &mut Vec<Token>) -> Result<ParsingState, char>[src]

Tries to call the macro character. If none is defined, it some character.

Trait Implementations

impl<'a, T: Iterator<Item = char>> Drop for MacroHandle<'a, T>[src]

fn drop(&mut self)[src]

Discards this handle. When calling the next time, the same character will be used for dispatch.

Auto Trait Implementations

impl<'a, T> !RefUnwindSafe for MacroHandle<'a, T>

impl<'a, T> !Send for MacroHandle<'a, T>

impl<'a, T> !Sync for MacroHandle<'a, T>

impl<'a, T> Unpin for MacroHandle<'a, T>

impl<'a, T> !UnwindSafe for MacroHandle<'a, T>

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.