[−][src]Struct rustc_middle::traits::ObligationCauseData
Fields
span: Spanbody_id: HirIdThe ID of the fn body that triggered this obligation. This is
used for region obligations to determine the precise
environment in which the region obligation should be evaluated
(in particular, closures can add new assumptions). See the
field region_obligations of the FulfillmentContext for more
information.
code: ObligationCauseCode<'tcx>Trait Implementations
impl<'tcx> Clone for ObligationCauseData<'tcx>[src]
fn clone(&self) -> ObligationCauseData<'tcx>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'tcx> Debug for ObligationCauseData<'tcx>[src]
impl<'tcx> Eq for ObligationCauseData<'tcx>[src]
impl<'tcx> Hash for ObligationCauseData<'tcx>[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<'tcx, '__lifted> Lift<'__lifted> for ObligationCauseData<'tcx>[src]
type Lifted = ObligationCauseData<'__lifted>
fn lift_to_tcx(
&self,
__tcx: TyCtxt<'__lifted>
) -> Option<ObligationCauseData<'__lifted>>[src]
&self,
__tcx: TyCtxt<'__lifted>
) -> Option<ObligationCauseData<'__lifted>>
impl<'tcx> PartialEq<ObligationCauseData<'tcx>> for ObligationCauseData<'tcx>[src]
fn eq(&self, other: &ObligationCauseData<'tcx>) -> bool[src]
fn ne(&self, other: &ObligationCauseData<'tcx>) -> bool[src]
impl<'tcx> StructuralEq for ObligationCauseData<'tcx>[src]
impl<'tcx> StructuralPartialEq for ObligationCauseData<'tcx>[src]
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ObligationCauseData<'tcx>
impl<'tcx> !Send for ObligationCauseData<'tcx>
impl<'tcx> !Sync for ObligationCauseData<'tcx>
impl<'tcx> Unpin for ObligationCauseData<'tcx>
impl<'tcx> !UnwindSafe for ObligationCauseData<'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> MaybeResult<T> for T[src]
type Error = !
fn from(Result<T, <T as MaybeResult<T>>::Error>) -> T[src]
fn to_result(self) -> Result<T, <T as MaybeResult<T>>::Error>[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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.