pub(crate) trait ProjectionCacheKeyExt<'cx, 'tcx>: Sized {
// Required method
fn from_poly_projection_obligation(
selcx: &mut SelectionContext<'cx, 'tcx>,
obligation: &PolyProjectionObligation<'tcx>,
) -> Option<Self>;
}
Required Methods§
fn from_poly_projection_obligation( selcx: &mut SelectionContext<'cx, 'tcx>, obligation: &PolyProjectionObligation<'tcx>, ) -> Option<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.