Type Alias rustc_middle::query::queries::representability::Value
source · pub type Value<'tcx> = Representability;
Aliased Type§
enum Value<'tcx> {
Representable,
Infinite,
}
Variants§
Trait Implementations§
source§impl Clone for Representability
impl Clone for Representability
source§fn clone(&self) -> Representability
fn clone(&self) -> Representability
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 Representability
impl Debug for Representability
source§impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Representability
impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Representability
fn hash_stable( &self, __hcx: &mut StableHashingContext<'__ctx>, __hasher: &mut StableHasher )
source§impl<'tcx> Value<TyCtxt<'tcx>> for Representability
impl<'tcx> Value<TyCtxt<'tcx>> for Representability
fn from_cycle_error( tcx: TyCtxt<'tcx>, cycle: &[QueryInfo], _guar: ErrorGuaranteed ) -> Self
impl Copy for Representability
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: 1 byte
Size for each variant:
Representable
: 0 bytesInfinite
: 0 bytes