Trait rustc_trait_selection::traits::project::ProjectionCacheKeyExt[][src]

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

Required methods

Implementors