Type Alias rustc_middle::query::queries::mir_const_qualif::ProvidedValue
source · pub type ProvidedValue<'tcx> = ConstQualifs;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.
Aliased Type§
struct ProvidedValue<'tcx> {
pub has_mut_interior: bool,
pub needs_drop: bool,
pub needs_non_const_drop: bool,
pub custom_eq: bool,
pub tainted_by_errors: Option<ErrorGuaranteed>,
}Fields§
§has_mut_interior: bool§needs_drop: bool§needs_non_const_drop: bool§custom_eq: bool§tainted_by_errors: Option<ErrorGuaranteed>Trait Implementations§
source§impl Clone for ConstQualifs
impl Clone for ConstQualifs
source§fn clone(&self) -> ConstQualifs
fn clone(&self) -> ConstQualifs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ConstQualifs
impl Debug for ConstQualifs
source§impl Default for ConstQualifs
impl Default for ConstQualifs
source§fn default() -> ConstQualifs
fn default() -> ConstQualifs
Returns the “default value” for a type. Read more
source§impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ConstQualifs
impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ConstQualifs
fn hash_stable( &self, __hcx: &mut StableHashingContext<'__ctx>, __hasher: &mut StableHasher )
source§impl ParameterizedOverTcx for ConstQualifs
impl ParameterizedOverTcx for ConstQualifs
type Value<'tcx> = ConstQualifs
impl Copy for ConstQualifs
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:5 bytes