Enum syntax::ext::tt::macro_parser::MatcherPosHandle[][src]

enum MatcherPosHandle<'a> {
    Ref(&'a mut MatcherPos<'a>),
    Box(Box<MatcherPos<'a>>),
}
🔬 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?

Variants

🔬 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?

🔬 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?

Methods from Deref<Target = MatcherPos<'a>>

🔬 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?

Add m as a named match for the idx-th metavar.

Trait Implementations

impl<'a> Clone for MatcherPosHandle<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Deref for MatcherPosHandle<'a>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<'a> DerefMut for MatcherPosHandle<'a>
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl<'a> !Send for MatcherPosHandle<'a>

impl<'a> !Sync for MatcherPosHandle<'a>