Struct rustc_infer::infer::InferOk [−][src]
pub struct InferOk<'tcx, T> {
pub value: T,
pub obligations: PredicateObligations<'tcx>,
}
Fields
value: T
obligations: PredicateObligations<'tcx>
Implementations
pub fn into_value_registering_obligations(
self,
infcx: &InferCtxt<'_, 'tcx>,
fulfill_cx: &mut dyn TraitEngine<'tcx>
) -> T
pub fn into_value_registering_obligations(
self,
infcx: &InferCtxt<'_, 'tcx>,
fulfill_cx: &mut dyn TraitEngine<'tcx>
) -> T
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.