Struct rustc::ty::fold::LateBoundRegionsCollector [−][src]
struct LateBoundRegionsCollector {
current_depth: u32,
regions: FxHashSet<BoundRegion>,
just_constrained: 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?
Collects all the late-bound regions it finds into a hash set.
Fields
current_depth: u32
🔬 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?
regions: FxHashSet<BoundRegion>
🔬 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?
just_constrained: 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 LateBoundRegionsCollector[src]
impl LateBoundRegionsCollectorfn new(just_constrained: bool) -> Self[src]
fn new(just_constrained: 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?
Trait Implementations
impl<'tcx> TypeVisitor<'tcx> for LateBoundRegionsCollector[src]
impl<'tcx> TypeVisitor<'tcx> for LateBoundRegionsCollectorfn visit_binder<T: TypeFoldable<'tcx>>(&mut self, t: &Binder<T>) -> bool[src]
fn visit_binder<T: TypeFoldable<'tcx>>(&mut self, t: &Binder<T>) -> 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?
fn visit_ty(&mut self, t: Ty<'tcx>) -> bool[src]
fn visit_ty(&mut self, t: Ty<'tcx>) -> 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?
fn visit_region(&mut self, r: Region<'tcx>) -> bool[src]
fn visit_region(&mut self, r: Region<'tcx>) -> 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?
fn visit_const(&mut self, c: &'tcx Const<'tcx>) -> bool[src]
fn visit_const(&mut self, c: &'tcx Const<'tcx>) -> 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?
Auto Trait Implementations
impl !Send for LateBoundRegionsCollector
impl !Send for LateBoundRegionsCollectorimpl !Sync for LateBoundRegionsCollector
impl !Sync for LateBoundRegionsCollector