Struct rustc_expand::mbe::macro_parser::MatcherTtFrame [−][src]
struct MatcherTtFrame<'tt> {
elts: TokenTreeOrTokenTreeSlice<'tt>,
idx: usize,
}
Expand description
An unzipping of TokenTree
s… 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
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
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