Type Alias rustc_middle::query::queries::object_lifetime_default::ProvidedValue
source · pub type ProvidedValue<'tcx> = ObjectLifetimeDefault;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§
enum ProvidedValue<'tcx> {
Empty,
Static,
Ambiguous,
Param(DefId),
}Variants§
Trait Implementations§
source§impl Clone for ObjectLifetimeDefault
impl Clone for ObjectLifetimeDefault
source§fn clone(&self) -> ObjectLifetimeDefault
fn clone(&self) -> ObjectLifetimeDefault
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 ObjectLifetimeDefault
impl Debug for ObjectLifetimeDefault
source§impl<__D: Decoder> Decodable<__D> for ObjectLifetimeDefault
impl<__D: Decoder> Decodable<__D> for ObjectLifetimeDefault
source§impl<__E: Encoder> Encodable<__E> for ObjectLifetimeDefault
impl<__E: Encoder> Encodable<__E> for ObjectLifetimeDefault
source§impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ObjectLifetimeDefault
impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ObjectLifetimeDefault
fn hash_stable( &self, __hcx: &mut StableHashingContext<'__ctx>, __hasher: &mut StableHasher )
source§impl ParameterizedOverTcx for ObjectLifetimeDefault
impl ParameterizedOverTcx for ObjectLifetimeDefault
type Value<'tcx> = ObjectLifetimeDefault
impl Copy for ObjectLifetimeDefault
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:8 bytes
Size for each variant:
Empty: 0 bytesStatic: 0 bytesAmbiguous: 0 bytesParam: 8 bytes