Struct syntax::ext::tt::macro_parser::MatcherTtFrame [−][src]
struct MatcherTtFrame {
elts: TokenTreeOrTokenTreeVec,
idx: usize,
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
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: TokenTreeOrTokenTreeVec
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
The "parent" matcher that we are descending into.
idx: usize
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
The position of the "dot" in elts at the time we descended.
Trait Implementations
impl Clone for MatcherTtFrame[src]
impl Clone for MatcherTtFramefn clone(&self) -> MatcherTtFrame[src]
fn clone(&self) -> MatcherTtFrameReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
Auto Trait Implementations
impl !Send for MatcherTtFrame
impl !Send for MatcherTtFrameimpl !Sync for MatcherTtFrame
impl !Sync for MatcherTtFrame