Type Definition rustc_infer::traits::PolyTraitObligation
source · pub type PolyTraitObligation<'tcx> = Obligation<'tcx, PolyTraitPredicate<'tcx>>;Implementations§
source§impl<'tcx> PolyTraitObligation<'tcx>
impl<'tcx> PolyTraitObligation<'tcx>
pub fn derived_cause( &self, variant: impl FnOnce(DerivedObligationCause<'tcx>) -> ObligationCauseCode<'tcx> ) -> ObligationCause<'tcx>
source§impl<'tcx> PolyTraitObligation<'tcx>
impl<'tcx> PolyTraitObligation<'tcx>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size:72 bytes