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>

Object Safety§

This trait is not object safe.

Implementors§

source§

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