Struct rustc_expand::placeholders::PlaceholderExpander [−][src]
pub struct PlaceholderExpander<'a, 'b> {
expanded_fragments: FxHashMap<NodeId, AstFragment>,
cx: &'a mut ExtCtxt<'b>,
monotonic: bool,
}Fields
expanded_fragments: FxHashMap<NodeId, AstFragment>cx: &'a mut ExtCtxt<'b>monotonic: boolImplementations
Trait Implementations
Mutable token visiting only exists for the macro_rules token marker and should not be
used otherwise. Token visitor would be entirely separate from the regular visitor if
the marker didn’t have to visit AST fragments in nonterminal tokens. Read more
Auto Trait Implementations
impl<'a, 'b> !RefUnwindSafe for PlaceholderExpander<'a, 'b>
impl<'a, 'b> !Send for PlaceholderExpander<'a, 'b>
impl<'a, 'b> !Sync for PlaceholderExpander<'a, 'b>
impl<'a, 'b> Unpin for PlaceholderExpander<'a, 'b> where
'b: 'a,
impl<'a, 'b> !UnwindSafe for PlaceholderExpander<'a, 'b>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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