Type Alias rustc_middle::query::queries::stability_index::ProvidedValue
source · pub type ProvidedValue<'tcx> = Index;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 Index
impl Index
pub fn local_stability(&self, def_id: LocalDefId) -> Option<Stability>
pub fn local_const_stability( &self, def_id: LocalDefId ) -> Option<ConstStability>
pub fn local_default_body_stability( &self, def_id: LocalDefId ) -> Option<DefaultBodyStability>
pub fn local_deprecation_entry( &self, def_id: LocalDefId ) -> Option<DeprecationEntry>
Trait Implementations§
source§impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Index
impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Index
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:160 bytes