Struct rustc_trait_selection::solve::eval_ctxt::probe::TraitProbeCtxt
source · pub(in solve) struct TraitProbeCtxt<'me, 'a, 'tcx, F> {
cx: ProbeCtxt<'me, 'a, 'tcx, F, QueryResult<'tcx>>,
source: CandidateSource,
}Fields§
§cx: ProbeCtxt<'me, 'a, 'tcx, F, QueryResult<'tcx>>§source: CandidateSourceImplementations§
source§impl<'tcx, F> TraitProbeCtxt<'_, '_, 'tcx, F>
impl<'tcx, F> TraitProbeCtxt<'_, '_, 'tcx, F>
pub(in solve) fn enter( self, f: impl FnOnce(&mut EvalCtxt<'_, 'tcx>) -> QueryResult<'tcx> ) -> Result<Candidate<'tcx>, NoSolution>
Auto Trait Implementations§
impl<'me, 'a, 'tcx, F> !RefUnwindSafe for TraitProbeCtxt<'me, 'a, 'tcx, F>
impl<'me, 'a, 'tcx, F> !Send for TraitProbeCtxt<'me, 'a, 'tcx, F>
impl<'me, 'a, 'tcx, F> !Sync for TraitProbeCtxt<'me, 'a, 'tcx, F>
impl<'me, 'a, 'tcx, F> Unpin for TraitProbeCtxt<'me, 'a, 'tcx, F>where
F: Unpin,
impl<'me, 'a, 'tcx, F> !UnwindSafe for TraitProbeCtxt<'me, 'a, 'tcx, F>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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.