[−][src]Struct rustc_infer::infer::InferOk
Fields
value: Tobligations: PredicateObligations<'tcx>Implementations
impl<'tcx, T> InferOk<'tcx, T>[src]
pub fn unit(self) -> InferOk<'tcx, ()>[src]
pub fn into_value_registering_obligations(
self,
infcx: &InferCtxt<'_, 'tcx>,
fulfill_cx: &mut dyn TraitEngine<'tcx>
) -> T[src]
self,
infcx: &InferCtxt<'_, 'tcx>,
fulfill_cx: &mut dyn TraitEngine<'tcx>
) -> T
Extracts value, registering any obligations into fulfill_cx.
impl<'tcx> InferOk<'tcx, ()>[src]
pub fn into_obligations(self) -> PredicateObligations<'tcx>[src]
Trait Implementations
Auto Trait Implementations
impl<'tcx, T> !RefUnwindSafe for InferOk<'tcx, T>
impl<'tcx, T> !Send for InferOk<'tcx, T>
impl<'tcx, T> !Sync for InferOk<'tcx, T>
impl<'tcx, T> Unpin for InferOk<'tcx, T> where
T: Unpin,
T: Unpin,
impl<'tcx, T> !UnwindSafe for InferOk<'tcx, T>
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,
pub 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, 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.
pub 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.