Struct rustc::infer::RegionObligation [−][src]
pub struct RegionObligation<'tcx> {
pub sub_region: Region<'tcx>,
pub sup_type: Ty<'tcx>,
pub cause: ObligationCause<'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?
See the region_obligations field for more information.
Fields
sub_region: 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?
sup_type: Ty<'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?
cause: ObligationCause<'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?
Trait Implementations
impl<'tcx> Clone for RegionObligation<'tcx>[src]
impl<'tcx> Clone for RegionObligation<'tcx>fn clone(&self) -> RegionObligation<'tcx>[src]
fn clone(&self) -> RegionObligation<'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)1.0.0
[src]Performs copy-assignment from source. Read more
impl<'tcx> Debug for RegionObligation<'tcx>[src]
impl<'tcx> Debug for RegionObligation<'tcx>Auto Trait Implementations
impl<'tcx> !Send for RegionObligation<'tcx>
impl<'tcx> !Send for RegionObligation<'tcx>impl<'tcx> !Sync for RegionObligation<'tcx>
impl<'tcx> !Sync for RegionObligation<'tcx>