Type Alias rustc_middle::query::queries::trait_impls_of::ProvidedValue
source · pub type ProvidedValue<'tcx> = TraitImpls;Expand description
This type alias specifies the type returned from query providers and the type
used for decoding. For regular queries this is the declared returned type V,
but arena_cache will use <V as Deref>::Target instead.
Implementations§
source§impl TraitImpls
impl TraitImpls
pub fn is_empty(&self) -> bool
pub fn blanket_impls(&self) -> &[DefId]
pub fn non_blanket_impls(&self) -> &FxIndexMap<SimplifiedType, Vec<DefId>>
Trait Implementations§
source§impl Debug for TraitImpls
impl Debug for TraitImpls
source§impl Default for TraitImpls
impl Default for TraitImpls
source§fn default() -> TraitImpls
fn default() -> TraitImpls
Returns the “default value” for a type. Read more
source§impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for TraitImpls
impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for TraitImpls
fn hash_stable( &self, __hcx: &mut StableHashingContext<'__ctx>, __hasher: &mut StableHasher )
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:80 bytes