Struct rustc_infer::infer::InferOk [−][src]
#[must_use]pub struct InferOk<'tcx, T> { pub value: T, pub obligations: PredicateObligations<'tcx>, }
Fields
value: Tobligations: PredicateObligations<'tcx>Implementations
pub fn into_value_registering_obligations(
self,
infcx: &InferCtxt<'_, 'tcx>,
fulfill_cx: &mut dyn TraitEngine<'tcx>
) -> T[src]
pub fn into_value_registering_obligations(
self,
infcx: &InferCtxt<'_, 'tcx>,
fulfill_cx: &mut dyn TraitEngine<'tcx>
) -> T[src]Extracts value, registering any obligations into fulfill_cx.
Trait Implementations
Auto Trait Implementations
impl<'tcx, T> !RefUnwindSafe for InferOk<'tcx, T>impl<'tcx, T> !UnwindSafe for InferOk<'tcx, T>Blanket Implementations
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.