Struct rustc::traits::project::ProjectionCacheKey [−][src]
pub struct ProjectionCacheKey<'tcx> {
ty: ProjectionTy<'tcx>,
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Fields
ty: ProjectionTy<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl<'cx, 'gcx, 'tcx> ProjectionCacheKey<'tcx>[src]
impl<'cx, 'gcx, 'tcx> ProjectionCacheKey<'tcx>pub fn from_poly_projection_predicate(
selcx: &mut SelectionContext<'cx, 'gcx, 'tcx>,
predicate: &PolyProjectionPredicate<'tcx>
) -> Option<Self>[src]
pub fn from_poly_projection_predicate(
selcx: &mut SelectionContext<'cx, 'gcx, 'tcx>,
predicate: &PolyProjectionPredicate<'tcx>
) -> Option<Self>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl<'tcx> Copy for ProjectionCacheKey<'tcx>[src]
impl<'tcx> Copy for ProjectionCacheKey<'tcx>impl<'tcx> Clone for ProjectionCacheKey<'tcx>[src]
impl<'tcx> Clone for ProjectionCacheKey<'tcx>fn clone(&self) -> ProjectionCacheKey<'tcx>[src]
fn clone(&self) -> ProjectionCacheKey<'tcx>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<'tcx> Debug for ProjectionCacheKey<'tcx>[src]
impl<'tcx> Debug for ProjectionCacheKey<'tcx>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'tcx> Hash for ProjectionCacheKey<'tcx>[src]
impl<'tcx> Hash for ProjectionCacheKey<'tcx>fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl<'tcx> PartialEq for ProjectionCacheKey<'tcx>[src]
impl<'tcx> PartialEq for ProjectionCacheKey<'tcx>fn eq(&self, other: &ProjectionCacheKey<'tcx>) -> bool[src]
fn eq(&self, other: &ProjectionCacheKey<'tcx>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ProjectionCacheKey<'tcx>) -> bool[src]
fn ne(&self, other: &ProjectionCacheKey<'tcx>) -> boolThis method tests for !=.
impl<'tcx> Eq for ProjectionCacheKey<'tcx>[src]
impl<'tcx> Eq for ProjectionCacheKey<'tcx>fn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)Auto Trait Implementations
impl<'tcx> !Send for ProjectionCacheKey<'tcx>
impl<'tcx> !Send for ProjectionCacheKey<'tcx>impl<'tcx> !Sync for ProjectionCacheKey<'tcx>
impl<'tcx> !Sync for ProjectionCacheKey<'tcx>