Struct rustc_expand::mbe::macro_parser::MatcherTtFrame
source · [−]struct MatcherTtFrame<'tt> {
elts: TokenTreeOrTokenTreeSlice<'tt>,
idx: usize,
}Expand description
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: usizeThe position of the “dot” in elts at the time we descended.
Trait Implementations
Auto Trait Implementations
impl<'tt> !RefUnwindSafe for MatcherTtFrame
impl<'tt> !Send for MatcherTtFrame
impl<'tt> !Sync for MatcherTtFrame
impl<'tt> Unpin for MatcherTtFrame
impl<'tt> !UnwindSafe for MatcherTtFrame
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes