[−][src]Struct rustc_trait_selection::traits::ChalkFulfillmentContext
Fields
obligations: FxIndexSet<PredicateObligation<'tcx>>Implementations
impl<'tcx> FulfillmentContext<'tcx>[src]
Trait Implementations
impl<'tcx> TraitEngine<'tcx> for FulfillmentContext<'tcx>[src]
pub fn normalize_projection_type(
&mut self,
infcx: &InferCtxt<'_, 'tcx>,
_param_env: ParamEnv<'tcx>,
projection_ty: ProjectionTy<'tcx>,
_cause: ObligationCause<'tcx>
) -> Ty<'tcx>[src]
&mut self,
infcx: &InferCtxt<'_, 'tcx>,
_param_env: ParamEnv<'tcx>,
projection_ty: ProjectionTy<'tcx>,
_cause: ObligationCause<'tcx>
) -> Ty<'tcx>
pub fn register_predicate_obligation(
&mut self,
infcx: &InferCtxt<'_, 'tcx>,
obligation: PredicateObligation<'tcx>
)[src]
&mut self,
infcx: &InferCtxt<'_, 'tcx>,
obligation: PredicateObligation<'tcx>
)
pub fn select_all_or_error(
&mut self,
infcx: &InferCtxt<'_, 'tcx>
) -> Result<(), Vec<FulfillmentError<'tcx>>>[src]
&mut self,
infcx: &InferCtxt<'_, 'tcx>
) -> Result<(), Vec<FulfillmentError<'tcx>>>
pub fn select_where_possible(
&mut self,
infcx: &InferCtxt<'_, 'tcx>
) -> Result<(), Vec<FulfillmentError<'tcx>>>[src]
&mut self,
infcx: &InferCtxt<'_, 'tcx>
) -> Result<(), Vec<FulfillmentError<'tcx>>>
pub fn pending_obligations(&self) -> Vec<PredicateObligation<'tcx>>[src]
pub fn register_bound(
&mut self,
infcx: &InferCtxt<'_, 'tcx>,
param_env: ParamEnv<'tcx>,
ty: &'tcx TyS<'tcx>,
def_id: DefId,
cause: ObligationCause<'tcx>
)[src]
&mut self,
infcx: &InferCtxt<'_, 'tcx>,
param_env: ParamEnv<'tcx>,
ty: &'tcx TyS<'tcx>,
def_id: DefId,
cause: ObligationCause<'tcx>
)
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for FulfillmentContext<'tcx>
impl<'tcx> !Send for FulfillmentContext<'tcx>
impl<'tcx> !Sync for FulfillmentContext<'tcx>
impl<'tcx> Unpin for FulfillmentContext<'tcx>
impl<'tcx> !UnwindSafe for FulfillmentContext<'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,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<'tcx, T> TraitEngineExt<'tcx> for T where
T: TraitEngine<'tcx> + ?Sized, [src]
T: TraitEngine<'tcx> + ?Sized,
pub fn register_predicate_obligations(
&mut self,
infcx: &InferCtxt<'_, 'tcx>,
obligations: impl IntoIterator<Item = Obligation<'tcx, Predicate<'tcx>>>
)[src]
&mut self,
infcx: &InferCtxt<'_, 'tcx>,
obligations: impl IntoIterator<Item = Obligation<'tcx, Predicate<'tcx>>>
)
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.