[−][src]Struct c2rust_refactor::matcher::ExprPatternFolder
Automatically generated Folder
implementation, for use by Pattern
.
Trait Implementations
impl<'a, 'tcx, F> MutVisitor for ExprPatternFolder<'a, 'tcx, F> where
F: FnMut(&mut P<Expr>, MatchCtxt<'a, 'tcx>),
[src]
F: FnMut(&mut P<Expr>, MatchCtxt<'a, 'tcx>),
fn visit_expr(&mut self, e: &mut P<Expr>)
[src]
default fn visit_crate(&mut self, c: &mut Crate)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_meta_list_item(&mut self, list_item: &mut NestedMetaItem)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_meta_item(&mut self, meta_item: &mut MetaItem)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_use_tree(&mut self, use_tree: &mut UseTree)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn flat_map_foreign_item(
&mut self,
ni: ForeignItem
) -> SmallVec<[ForeignItem; 1]>
[src]
&mut self,
ni: ForeignItem
) -> SmallVec<[ForeignItem; 1]>
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn flat_map_item(&mut self, i: P<Item>) -> SmallVec<[P<Item>; 1]>
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_fn_header(&mut self, header: &mut FnHeader)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_struct_field(&mut self, sf: &mut StructField)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_item_kind(&mut self, i: &mut ItemKind)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn flat_map_trait_item(
&mut self,
i: TraitItem
) -> SmallVec<[TraitItem; 1]>
[src]
&mut self,
i: TraitItem
) -> SmallVec<[TraitItem; 1]>
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn flat_map_impl_item(&mut self, i: ImplItem) -> SmallVec<[ImplItem; 1]>
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_fn_decl(&mut self, d: &mut P<FnDecl>)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_asyncness(&mut self, a: &mut IsAsync)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_block(&mut self, b: &mut P<Block>)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn flat_map_stmt(&mut self, s: Stmt) -> SmallVec<[Stmt; 1]>
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_arm(&mut self, a: &mut Arm)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_guard(&mut self, g: &mut Guard)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_pat(&mut self, p: &mut P<Pat>)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_anon_const(&mut self, c: &mut AnonConst)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn filter_map_expr(&mut self, e: P<Expr>) -> Option<P<Expr>>
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_generic_arg(&mut self, arg: &mut GenericArg)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_ty(&mut self, t: &mut P<Ty>)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_lifetime(&mut self, l: &mut Lifetime)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_ty_binding(&mut self, t: &mut TypeBinding)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_mod(&mut self, m: &mut Mod)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_foreign_mod(&mut self, nm: &mut ForeignMod)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_variant(&mut self, v: &mut Spanned<Variant_>)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_ident(&mut self, i: &mut Ident)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_path(&mut self, p: &mut Path)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_qself(&mut self, qs: &mut Option<QSelf>)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_generic_args(&mut self, p: &mut GenericArgs)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_angle_bracketed_parameter_data(
&mut self,
p: &mut AngleBracketedArgs
)
[src]
&mut self,
p: &mut AngleBracketedArgs
)
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_parenthesized_parameter_data(
&mut self,
p: &mut ParenthesizedArgs
)
[src]
&mut self,
p: &mut ParenthesizedArgs
)
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_local(&mut self, l: &mut P<Local>)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_mac(&mut self, _mac: &mut Spanned<Mac_>)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_macro_def(&mut self, def: &mut MacroDef)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_label(&mut self, label: &mut Label)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_attribute(&mut self, at: &mut Attribute)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_arg(&mut self, a: &mut Arg)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_generics(&mut self, generics: &mut Generics)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_trait_ref(&mut self, tr: &mut TraitRef)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_poly_trait_ref(&mut self, p: &mut PolyTraitRef)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_variant_data(&mut self, vdata: &mut VariantData)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_generic_param(&mut self, param: &mut GenericParam)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_generic_params(&mut self, params: &mut Vec<GenericParam>)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_tt(&mut self, tt: &mut TokenTree)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_tts(&mut self, tts: &mut TokenStream)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_token(&mut self, t: &mut Token)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_interpolated(&mut self, nt: &mut Nonterminal)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_param_bound(&mut self, tpb: &mut GenericBound)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_mt(&mut self, mt: &mut MutTy)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_field(&mut self, field: &mut Field)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_where_clause(&mut self, where_clause: &mut WhereClause)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_where_predicate(
&mut self,
where_predicate: &mut WherePredicate
)
[src]
&mut self,
where_predicate: &mut WherePredicate
)
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_vis(&mut self, vis: &mut Spanned<VisibilityKind>)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_id(&mut self, _id: &mut NodeId)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
default fn visit_span(&mut self, _sp: &mut Span)
[src]
⚙️ This is an internal compiler API. (rustc_private
)
This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml
.
Auto Trait Implementations
impl<'a, 'tcx, F> !Send for ExprPatternFolder<'a, 'tcx, F>
impl<'a, 'tcx, F> !Sync for ExprPatternFolder<'a, 'tcx, F>
Blanket Implementations
impl<T> Lone for T
[src]
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<E> SpecializationError for E
[src]
default fn not_found<S, T>(
trait_name: &'static str,
method_name: &'static str
) -> E where
T: ?Sized,
[src]
trait_name: &'static str,
method_name: &'static str
) -> E where
T: ?Sized,
impl<T> Erased for T
[src]
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Same for T
type Output = T
Should always be Self
impl<T> MaybeResult for T
[src]
impl<'a, T> Captures for T where
T: ?Sized,
[src]
T: ?Sized,