pub(crate) trait ProjectionCacheKeyExt<'cx, 'tcx>: Sized {
    // Required method
    fn from_poly_projection_predicate(
        selcx: &mut SelectionContext<'cx, 'tcx>,
        predicate: PolyProjectionPredicate<'tcx>
    ) -> Option<Self>;
}

Required Methods§

source

fn from_poly_projection_predicate( selcx: &mut SelectionContext<'cx, 'tcx>, predicate: PolyProjectionPredicate<'tcx> ) -> Option<Self>

Implementors§

source§

impl<'cx, 'tcx> ProjectionCacheKeyExt<'cx, 'tcx> for ProjectionCacheKey<'tcx>