Struct rustc::infer::outlives::free_region_map::FreeRegionMap
[−]
[src]
pub struct FreeRegionMap<'tcx> { /* fields omitted */ }🔬 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<'tcx> FreeRegionMap<'tcx>[src]
impl<'tcx> FreeRegionMap<'tcx>pub fn new() -> Self[src]
pub fn new() -> 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 is_empty(&self) -> bool[src]
pub fn is_empty(&self) -> 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?
pub fn relate_regions(&mut self, sub: Region<'tcx>, sup: Region<'tcx>)[src]
pub fn relate_regions(&mut self, sub: Region<'tcx>, sup: Region<'tcx>)🔬 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 lub_free_regions<'a, 'gcx>(
&self,
tcx: TyCtxt<'a, 'gcx, 'tcx>,
r_a: Region<'tcx>,
r_b: Region<'tcx>
) -> Region<'tcx>[src]
pub fn lub_free_regions<'a, 'gcx>(
&self,
tcx: TyCtxt<'a, 'gcx, 'tcx>,
r_a: Region<'tcx>,
r_b: Region<'tcx>
) -> Region<'tcx>🔬 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?
Compute the least-upper-bound of two free regions. In some
cases, this is more conservative than necessary, in order to
avoid making arbitrary choices. See
TransitiveRelation::postdom_upper_bound for more details.
Trait Implementations
impl<'tcx> Clone for FreeRegionMap<'tcx>[src]
impl<'tcx> Clone for FreeRegionMap<'tcx>fn clone(&self) -> FreeRegionMap<'tcx>[src]
fn clone(&self) -> FreeRegionMap<'tcx>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<'tcx> Encodable for FreeRegionMap<'tcx>[src]
impl<'tcx> Encodable for FreeRegionMap<'tcx>fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>🔬 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> Decodable for FreeRegionMap<'tcx>[src]
impl<'tcx> Decodable for FreeRegionMap<'tcx>fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<FreeRegionMap<'tcx>, __D::Error>[src]
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<FreeRegionMap<'tcx>, __D::Error>🔬 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> Debug for FreeRegionMap<'tcx>[src]
impl<'tcx> Debug for FreeRegionMap<'tcx>fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'tcx> FreeRegionRelations<'tcx> for FreeRegionMap<'tcx>[src]
impl<'tcx> FreeRegionRelations<'tcx> for FreeRegionMap<'tcx>fn sub_free_regions(&self, r_a: Region<'tcx>, r_b: Region<'tcx>) -> bool[src]
fn sub_free_regions(&self, r_a: Region<'tcx>, r_b: 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?
Tests whether r_a <= r_b. Both must be free regions or 'static. Read more
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for FreeRegionMap<'tcx>[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for FreeRegionMap<'tcx>fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)🔬 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<'a, 'tcx> Lift<'tcx> for FreeRegionMap<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for FreeRegionMap<'a>type Lifted = FreeRegionMap<'tcx>
🔬 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 lift_to_tcx<'b, 'gcx>(
&self,
tcx: TyCtxt<'b, 'gcx, 'tcx>
) -> Option<FreeRegionMap<'tcx>>[src]
fn lift_to_tcx<'b, 'gcx>(
&self,
tcx: TyCtxt<'b, 'gcx, 'tcx>
) -> Option<FreeRegionMap<'tcx>>🔬 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<'tcx> !Send for FreeRegionMap<'tcx>
impl<'tcx> !Send for FreeRegionMap<'tcx>impl<'tcx> !Sync for FreeRegionMap<'tcx>
impl<'tcx> !Sync for FreeRegionMap<'tcx>