Type Definition rustc_middle::ty::fast_reject::SimplifiedType
source · [−]pub type SimplifiedType = SimplifiedTypeGen<DefId>;
Trait Implementations
sourceimpl<'a> ToStableHashKey<StableHashingContext<'a>> for SimplifiedType
impl<'a> ToStableHashKey<StableHashingContext<'a>> for SimplifiedType
type KeyType = Fingerprint
fn to_stable_hash_key(&self, hcx: &StableHashingContext<'a>) -> Fingerprint
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: 16 bytes
Size for each variant:
BoolSimplifiedType
: 0 bytesCharSimplifiedType
: 0 bytesIntSimplifiedType
: 1 byteUintSimplifiedType
: 1 byteFloatSimplifiedType
: 1 byteAdtSimplifiedType
: 11 bytesForeignSimplifiedType
: 11 bytesStrSimplifiedType
: 0 bytesArraySimplifiedType
: 0 bytesSliceSimplifiedType
: 0 bytesRefSimplifiedType
: 1 bytePtrSimplifiedType
: 1 byteNeverSimplifiedType
: 0 bytesTupleSimplifiedType
: 15 bytesMarkerTraitObjectSimplifiedType
: 0 bytesTraitSimplifiedType
: 11 bytesClosureSimplifiedType
: 11 bytesGeneratorSimplifiedType
: 11 bytesGeneratorWitnessSimplifiedType
: 15 bytesOpaqueSimplifiedType
: 11 bytesFunctionSimplifiedType
: 15 bytesPlaceholderSimplifiedType
: 0 bytes