Struct rustc_trait_selection::traits::util::traits::ProjectionCacheKey
source · [−]pub struct ProjectionCacheKey<'tcx> {
ty: ProjectionTy,
}Fields
ty: ProjectionTyTrait Implementations
fn from_poly_projection_predicate(
selcx: &mut SelectionContext<'cx, 'tcx>,
predicate: PolyProjectionPredicate<'tcx>
) -> Option<Self>
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ProjectionCacheKey
impl<'tcx> Send for ProjectionCacheKey
impl<'tcx> Sync for ProjectionCacheKey
impl<'tcx> Unpin for ProjectionCacheKey
impl<'tcx> !UnwindSafe for ProjectionCacheKey
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes