Struct syntax::ext::expand::MacroExpander [−][src]
🔬 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?
Fields
cx: &'a mut ExtCtxt<'b>
🔬 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?
monotonic: bool
🔬 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
impl<'a, 'b> MacroExpander<'a, 'b>[src]
impl<'a, 'b> MacroExpander<'a, 'b>pub fn new(cx: &'a mut ExtCtxt<'b>, monotonic: bool) -> Self[src]
pub fn new(cx: &'a mut ExtCtxt<'b>, monotonic: bool) -> Self🔬 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?
pub fn expand_crate(&mut self, krate: Crate) -> Crate[src]
pub fn expand_crate(&mut self, krate: Crate) -> Crate🔬 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?
fn expand_fragment(&mut self, input_fragment: AstFragment) -> AstFragment[src]
fn expand_fragment(&mut self, input_fragment: AstFragment) -> AstFragment🔬 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?
fn resolve_imports(&mut self)[src]
fn resolve_imports(&mut self)🔬 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?
fn collect_invocations(
&mut self,
fragment: AstFragment,
derives: &[Mark]
) -> (AstFragment, Vec<Invocation>)[src]
fn collect_invocations(
&mut self,
fragment: AstFragment,
derives: &[Mark]
) -> (AstFragment, Vec<Invocation>)🔬 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?
Collect all macro invocations reachable at this time in this AST fragment, and replace
them with "placeholders" - dummy macro invocations with specially crafted NodeIds.
Then call into resolver that builds a skeleton ("reduced graph") of the fragment and
prepares data for resolving paths of macro invocations.
fn fully_configure(&mut self, item: Annotatable) -> Annotatable[src]
fn fully_configure(&mut self, item: Annotatable) -> Annotatable🔬 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?
fn expand_invoc(
&mut self,
invoc: Invocation,
ext: &SyntaxExtension
) -> Option<AstFragment>[src]
fn expand_invoc(
&mut self,
invoc: Invocation,
ext: &SyntaxExtension
) -> Option<AstFragment>🔬 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?
fn expand_attr_invoc(
&mut self,
invoc: Invocation,
ext: &SyntaxExtension
) -> Option<AstFragment>[src]
fn expand_attr_invoc(
&mut self,
invoc: Invocation,
ext: &SyntaxExtension
) -> Option<AstFragment>🔬 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?
fn extract_proc_macro_attr_input(
&self,
tokens: TokenStream,
span: Span
) -> TokenStream[src]
fn extract_proc_macro_attr_input(
&self,
tokens: TokenStream,
span: Span
) -> TokenStream🔬 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?
fn gate_proc_macro_attr_item(&self, span: Span, item: &Annotatable)[src]
fn gate_proc_macro_attr_item(&self, span: Span, item: &Annotatable)🔬 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?
fn gate_proc_macro_expansion(&self, span: Span, fragment: &Option<AstFragment>)[src]
fn gate_proc_macro_expansion(&self, span: Span, fragment: &Option<AstFragment>)🔬 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?
fn expand_bang_invoc(
&mut self,
invoc: Invocation,
ext: &SyntaxExtension
) -> Option<AstFragment>[src]
fn expand_bang_invoc(
&mut self,
invoc: Invocation,
ext: &SyntaxExtension
) -> Option<AstFragment>🔬 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?
Expand a macro invocation. Returns the resulting expanded AST fragment.
fn gate_proc_macro_expansion_kind(&self, span: Span, kind: AstFragmentKind)[src]
fn gate_proc_macro_expansion_kind(&self, span: Span, kind: AstFragmentKind)🔬 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?
fn expand_derive_invoc(
&mut self,
invoc: Invocation,
ext: &SyntaxExtension
) -> Option<AstFragment>[src]
fn expand_derive_invoc(
&mut self,
invoc: Invocation,
ext: &SyntaxExtension
) -> Option<AstFragment>🔬 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?
Expand a derive invocation. Returns the resulting expanded AST fragment.
fn parse_ast_fragment(
&mut self,
toks: TokenStream,
kind: AstFragmentKind,
path: &Path,
span: Span
) -> Option<AstFragment>[src]
fn parse_ast_fragment(
&mut self,
toks: TokenStream,
kind: AstFragmentKind,
path: &Path,
span: Span
) -> Option<AstFragment>🔬 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?
Trait Implementations
impl<'a, 'b> Folder for MacroExpander<'a, 'b>[src]
impl<'a, 'b> Folder for MacroExpander<'a, 'b>fn fold_opt_expr(&mut self, expr: P<Expr>) -> Option<P<Expr>>[src]
fn fold_opt_expr(&mut self, expr: P<Expr>) -> Option<P<Expr>>🔬 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?
fn fold_expr(&mut self, ast: P<Expr>) -> P<Expr>[src]
fn fold_expr(&mut self, ast: P<Expr>) -> P<Expr>🔬 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?
fn fold_pat(&mut self, ast: P<Pat>) -> P<Pat>[src]
fn fold_pat(&mut self, ast: P<Pat>) -> P<Pat>🔬 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?
fn fold_ty(&mut self, ast: P<Ty>) -> P<Ty>[src]
fn fold_ty(&mut self, ast: P<Ty>) -> P<Ty>🔬 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?
fn fold_stmt(
&mut self,
ast_elt: <SmallVector<Stmt> as IntoIterator>::Item
) -> SmallVector<Stmt>[src]
fn fold_stmt(
&mut self,
ast_elt: <SmallVector<Stmt> as IntoIterator>::Item
) -> SmallVector<Stmt>🔬 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?
fn fold_item(
&mut self,
ast_elt: <SmallVector<P<Item>> as IntoIterator>::Item
) -> SmallVector<P<Item>>[src]
fn fold_item(
&mut self,
ast_elt: <SmallVector<P<Item>> as IntoIterator>::Item
) -> SmallVector<P<Item>>🔬 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?
fn fold_trait_item(
&mut self,
ast_elt: <SmallVector<TraitItem> as IntoIterator>::Item
) -> SmallVector<TraitItem>[src]
fn fold_trait_item(
&mut self,
ast_elt: <SmallVector<TraitItem> as IntoIterator>::Item
) -> SmallVector<TraitItem>🔬 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?
fn fold_impl_item(
&mut self,
ast_elt: <SmallVector<ImplItem> as IntoIterator>::Item
) -> SmallVector<ImplItem>[src]
fn fold_impl_item(
&mut self,
ast_elt: <SmallVector<ImplItem> as IntoIterator>::Item
) -> SmallVector<ImplItem>🔬 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?
fn fold_foreign_item(
&mut self,
ast_elt: <SmallVector<ForeignItem> as IntoIterator>::Item
) -> SmallVector<ForeignItem>[src]
fn fold_foreign_item(
&mut self,
ast_elt: <SmallVector<ForeignItem> as IntoIterator>::Item
) -> SmallVector<ForeignItem>🔬 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?
fn fold_crate(&mut self, c: Crate) -> Crate[src]
fn fold_crate(&mut self, c: Crate) -> Crate🔬 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?
fn fold_meta_items(&mut self, meta_items: Vec<MetaItem>) -> Vec<MetaItem>[src]
fn fold_meta_items(&mut self, meta_items: Vec<MetaItem>) -> Vec<MetaItem>🔬 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?
fn fold_meta_list_item(&mut self, list_item: NestedMetaItem) -> NestedMetaItem[src]
fn fold_meta_list_item(&mut self, list_item: NestedMetaItem) -> NestedMetaItem🔬 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?
fn fold_meta_item(&mut self, meta_item: MetaItem) -> MetaItem[src]
fn fold_meta_item(&mut self, meta_item: MetaItem) -> MetaItem🔬 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?
fn fold_use_tree(&mut self, use_tree: UseTree) -> UseTree[src]
fn fold_use_tree(&mut self, use_tree: UseTree) -> UseTree🔬 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?
fn fold_foreign_item_simple(&mut self, ni: ForeignItem) -> ForeignItem[src]
fn fold_foreign_item_simple(&mut self, ni: ForeignItem) -> ForeignItem🔬 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?
fn fold_item_simple(&mut self, i: Item) -> Item[src]
fn fold_item_simple(&mut self, i: Item) -> Item🔬 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?
fn fold_fn_header(&mut self, header: FnHeader) -> FnHeader[src]
fn fold_fn_header(&mut self, header: FnHeader) -> FnHeader🔬 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?
fn fold_struct_field(&mut self, sf: StructField) -> StructField[src]
fn fold_struct_field(&mut self, sf: StructField) -> StructField🔬 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?
fn fold_item_kind(&mut self, i: ItemKind) -> ItemKind[src]
fn fold_item_kind(&mut self, i: ItemKind) -> ItemKind🔬 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?
fn fold_fn_decl(&mut self, d: P<FnDecl>) -> P<FnDecl>[src]
fn fold_fn_decl(&mut self, d: P<FnDecl>) -> P<FnDecl>🔬 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?
fn fold_asyncness(&mut self, a: IsAsync) -> IsAsync[src]
fn fold_asyncness(&mut self, a: IsAsync) -> IsAsync🔬 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?
fn fold_block(&mut self, b: P<Block>) -> P<Block>[src]
fn fold_block(&mut self, b: P<Block>) -> P<Block>🔬 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?
fn fold_arm(&mut self, a: Arm) -> Arm[src]
fn fold_arm(&mut self, a: Arm) -> Arm🔬 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?
fn fold_anon_const(&mut self, c: AnonConst) -> AnonConst[src]
fn fold_anon_const(&mut self, c: AnonConst) -> AnonConst🔬 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?
fn fold_range_end(&mut self, re: RangeEnd) -> RangeEnd[src]
fn fold_range_end(&mut self, re: RangeEnd) -> RangeEnd🔬 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?
fn fold_exprs(&mut self, es: Vec<P<Expr>>) -> Vec<P<Expr>>[src]
fn fold_exprs(&mut self, es: Vec<P<Expr>>) -> Vec<P<Expr>>🔬 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?
fn fold_generic_arg(&mut self, arg: GenericArg) -> GenericArg[src]
fn fold_generic_arg(&mut self, arg: GenericArg) -> GenericArg🔬 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?
fn fold_lifetime(&mut self, l: Lifetime) -> Lifetime[src]
fn fold_lifetime(&mut self, l: Lifetime) -> Lifetime🔬 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?
fn fold_ty_binding(&mut self, t: TypeBinding) -> TypeBinding[src]
fn fold_ty_binding(&mut self, t: TypeBinding) -> TypeBinding🔬 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?
fn fold_mod(&mut self, m: Mod) -> Mod[src]
fn fold_mod(&mut self, m: Mod) -> Mod🔬 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?
fn fold_foreign_mod(&mut self, nm: ForeignMod) -> ForeignMod[src]
fn fold_foreign_mod(&mut self, nm: ForeignMod) -> ForeignMod🔬 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?
fn fold_global_asm(&mut self, ga: P<GlobalAsm>) -> P<GlobalAsm>[src]
fn fold_global_asm(&mut self, ga: P<GlobalAsm>) -> P<GlobalAsm>🔬 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?
fn fold_variant(&mut self, v: Variant) -> Variant[src]
fn fold_variant(&mut self, v: Variant) -> Variant🔬 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?
fn fold_ident(&mut self, i: Ident) -> Ident[src]
fn fold_ident(&mut self, i: Ident) -> Ident🔬 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?
fn fold_usize(&mut self, i: usize) -> usize[src]
fn fold_usize(&mut self, i: usize) -> 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?
fn fold_path(&mut self, p: Path) -> Path[src]
fn fold_path(&mut self, p: Path) -> Path🔬 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?
fn fold_qpath(&mut self, qs: Option<QSelf>, p: Path) -> (Option<QSelf>, Path)[src]
fn fold_qpath(&mut self, qs: Option<QSelf>, p: Path) -> (Option<QSelf>, Path)🔬 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?
fn fold_generic_args(&mut self, p: GenericArgs) -> GenericArgs[src]
fn fold_generic_args(&mut self, p: GenericArgs) -> GenericArgs🔬 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?
fn fold_angle_bracketed_parameter_data(
&mut self,
p: AngleBracketedArgs
) -> AngleBracketedArgs[src]
fn fold_angle_bracketed_parameter_data(
&mut self,
p: AngleBracketedArgs
) -> AngleBracketedArgs🔬 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?
fn fold_parenthesized_parameter_data(
&mut self,
p: ParenthesisedArgs
) -> ParenthesisedArgs[src]
fn fold_parenthesized_parameter_data(
&mut self,
p: ParenthesisedArgs
) -> ParenthesisedArgs🔬 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?
fn fold_local(&mut self, l: P<Local>) -> P<Local>[src]
fn fold_local(&mut self, l: P<Local>) -> P<Local>🔬 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?
fn fold_mac(&mut self, _mac: Mac) -> Mac[src]
fn fold_mac(&mut self, _mac: Mac) -> Mac🔬 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?
fn fold_macro_def(&mut self, def: MacroDef) -> MacroDef[src]
fn fold_macro_def(&mut self, def: MacroDef) -> MacroDef🔬 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?
fn fold_label(&mut self, label: Label) -> Label[src]
fn fold_label(&mut self, label: Label) -> Label🔬 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?
fn fold_attribute(&mut self, at: Attribute) -> Option<Attribute>[src]
fn fold_attribute(&mut self, at: Attribute) -> Option<Attribute>🔬 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?
fn fold_arg(&mut self, a: Arg) -> Arg[src]
fn fold_arg(&mut self, a: Arg) -> Arg🔬 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?
fn fold_generics(&mut self, generics: Generics) -> Generics[src]
fn fold_generics(&mut self, generics: Generics) -> Generics🔬 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?
fn fold_trait_ref(&mut self, p: TraitRef) -> TraitRef[src]
fn fold_trait_ref(&mut self, p: TraitRef) -> TraitRef🔬 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?
fn fold_poly_trait_ref(&mut self, p: PolyTraitRef) -> PolyTraitRef[src]
fn fold_poly_trait_ref(&mut self, p: PolyTraitRef) -> PolyTraitRef🔬 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?
fn fold_variant_data(&mut self, vdata: VariantData) -> VariantData[src]
fn fold_variant_data(&mut self, vdata: VariantData) -> VariantData🔬 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?
fn fold_generic_param(&mut self, param: GenericParam) -> GenericParam[src]
fn fold_generic_param(&mut self, param: GenericParam) -> GenericParam🔬 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?
fn fold_generic_params(
&mut self,
params: Vec<GenericParam>
) -> Vec<GenericParam>[src]
fn fold_generic_params(
&mut self,
params: Vec<GenericParam>
) -> Vec<GenericParam>🔬 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?
fn fold_tt(&mut self, tt: TokenTree) -> TokenTree[src]
fn fold_tt(&mut self, tt: TokenTree) -> TokenTree🔬 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?
fn fold_tts(&mut self, tts: TokenStream) -> TokenStream[src]
fn fold_tts(&mut self, tts: TokenStream) -> TokenStream🔬 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?
fn fold_token(&mut self, t: Token) -> Token[src]
fn fold_token(&mut self, t: Token) -> Token🔬 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?
fn fold_interpolated(&mut self, nt: Nonterminal) -> Nonterminal[src]
fn fold_interpolated(&mut self, nt: Nonterminal) -> Nonterminal🔬 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?
fn fold_opt_bounds(&mut self, b: Option<GenericBounds>) -> Option<GenericBounds>[src]
fn fold_opt_bounds(&mut self, b: Option<GenericBounds>) -> Option<GenericBounds>🔬 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?
fn fold_bounds(&mut self, b: GenericBounds) -> GenericBounds[src]
fn fold_bounds(&mut self, b: GenericBounds) -> GenericBounds🔬 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?
fn fold_param_bound(&mut self, tpb: GenericBound) -> GenericBound[src]
fn fold_param_bound(&mut self, tpb: GenericBound) -> GenericBound🔬 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?
fn fold_mt(&mut self, mt: MutTy) -> MutTy[src]
fn fold_mt(&mut self, mt: MutTy) -> MutTy🔬 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?
fn fold_field(&mut self, field: Field) -> Field[src]
fn fold_field(&mut self, field: Field) -> Field🔬 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?
fn fold_where_clause(&mut self, where_clause: WhereClause) -> WhereClause[src]
fn fold_where_clause(&mut self, where_clause: WhereClause) -> WhereClause🔬 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?
fn fold_where_predicate(
&mut self,
where_predicate: WherePredicate
) -> WherePredicate[src]
fn fold_where_predicate(
&mut self,
where_predicate: WherePredicate
) -> WherePredicate🔬 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?
fn fold_vis(&mut self, vis: Visibility) -> Visibility[src]
fn fold_vis(&mut self, vis: Visibility) -> Visibility🔬 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?
fn new_id(&mut self, i: NodeId) -> NodeId[src]
fn new_id(&mut self, i: NodeId) -> NodeId🔬 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?
fn new_span(&mut self, sp: Span) -> Span[src]
fn new_span(&mut self, sp: Span) -> Span🔬 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?
Auto Trait Implementations
impl<'a, 'b> !Send for MacroExpander<'a, 'b>
impl<'a, 'b> !Send for MacroExpander<'a, 'b>impl<'a, 'b> !Sync for MacroExpander<'a, 'b>
impl<'a, 'b> !Sync for MacroExpander<'a, 'b>