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
Ref(&'a mut 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?
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?
Methods from Deref<Target = MatcherPos<'a>>
fn push_match(&mut self, idx: usize, m: NamedMatch)[src]
fn push_match(&mut self, idx: usize, m: NamedMatch)🔬 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]
impl<'a> Clone for MatcherPosHandle<'a>fn clone(&self) -> Self[src]
fn clone(&self) -> SelfReturns 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
impl<'a> Deref for MatcherPosHandle<'a>[src]
impl<'a> Deref for MatcherPosHandle<'a>type Target = MatcherPos<'a>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
fn deref(&self) -> &Self::TargetDereferences the value.
impl<'a> DerefMut for MatcherPosHandle<'a>[src]
impl<'a> DerefMut for MatcherPosHandle<'a>fn deref_mut(&mut self) -> &mut MatcherPos<'a>[src]
fn deref_mut(&mut self) -> &mut MatcherPos<'a>Mutably dereferences the value.
Auto Trait Implementations
impl<'a> !Send for MatcherPosHandle<'a>
impl<'a> !Send for MatcherPosHandle<'a>impl<'a> !Sync for MatcherPosHandle<'a>
impl<'a> !Sync for MatcherPosHandle<'a>