[−][src]Struct rustc_expand::mbe::macro_parser::MatcherTtFrame

pub(in mbe::macro_parser) struct MatcherTtFrame<'tt> {
    elts: TokenTreeOrTokenTreeSlice<'tt>,
    idx: usize,
}

An unzipping of TokenTrees... see the stack field of MatcherPos.

This is used by inner_parse_loop to keep track of delimited submatchers that we have descended into.

Fields

elts: TokenTreeOrTokenTreeSlice<'tt>

The "parent" matcher that we are descending into.

idx: usize

The position of the "dot" in elts at the time we descended.

Trait Implementations

impl<'tt> Clone for MatcherTtFrame<'tt>[src]

Auto Trait Implementations

impl<'tt> !RefUnwindSafe for MatcherTtFrame<'tt>

impl<'tt> !Send for MatcherTtFrame<'tt>

impl<'tt> !Sync for MatcherTtFrame<'tt>

impl<'tt> Unpin for MatcherTtFrame<'tt>

impl<'tt> !UnwindSafe for MatcherTtFrame<'tt>

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> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

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.