[−][src]Trait rustc_mir::hair::pattern::PatternFoldable
🔬 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?
Required Methods
fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
Provided Methods
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
Implementations on Foreign Types
impl<'tcx, T: PatternFoldable<'tcx>> PatternFoldable<'tcx> for Box<T>
[src]
impl<'tcx, T: PatternFoldable<'tcx>> PatternFoldable<'tcx> for Box<T>
fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx, T: PatternFoldable<'tcx>> PatternFoldable<'tcx> for Vec<T>
[src]
impl<'tcx, T: PatternFoldable<'tcx>> PatternFoldable<'tcx> for Vec<T>
fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx, T: PatternFoldable<'tcx>> PatternFoldable<'tcx> for Option<T>
[src]
impl<'tcx, T: PatternFoldable<'tcx>> PatternFoldable<'tcx> for Option<T>
fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for Span
[src]
impl<'tcx> PatternFoldable<'tcx> for Span
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for Field
[src]
impl<'tcx> PatternFoldable<'tcx> for Field
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for Mutability
[src]
impl<'tcx> PatternFoldable<'tcx> for Mutability
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for Name
[src]
impl<'tcx> PatternFoldable<'tcx> for Name
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for NodeId
[src]
impl<'tcx> PatternFoldable<'tcx> for NodeId
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for usize
[src]
impl<'tcx> PatternFoldable<'tcx> for usize
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for &'tcx Const<'tcx>
[src]
impl<'tcx> PatternFoldable<'tcx> for &'tcx Const<'tcx>
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for Region<'tcx>
[src]
impl<'tcx> PatternFoldable<'tcx> for Region<'tcx>
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for Ty<'tcx>
[src]
impl<'tcx> PatternFoldable<'tcx> for Ty<'tcx>
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for &'tcx AdtDef
[src]
impl<'tcx> PatternFoldable<'tcx> for &'tcx AdtDef
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for &'tcx Substs<'tcx>
[src]
impl<'tcx> PatternFoldable<'tcx> for &'tcx Substs<'tcx>
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for &'tcx Kind<'tcx>
[src]
impl<'tcx> PatternFoldable<'tcx> for &'tcx Kind<'tcx>
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for CanonicalTy<'tcx>
[src]
impl<'tcx> PatternFoldable<'tcx> for CanonicalTy<'tcx>
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
Implementors
impl<'tcx> PatternFoldable<'tcx> for BindingMode<'tcx>
[src]
impl<'tcx> PatternFoldable<'tcx> for BindingMode<'tcx>
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for PatternKind<'tcx>
[src]
impl<'tcx> PatternFoldable<'tcx> for PatternKind<'tcx>
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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 super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for FieldPattern<'tcx>
[src]
impl<'tcx> PatternFoldable<'tcx> for FieldPattern<'tcx>
fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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 fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?
impl<'tcx> PatternFoldable<'tcx> for Pattern<'tcx>
[src]
impl<'tcx> PatternFoldable<'tcx> for Pattern<'tcx>
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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 super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self
[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> 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?