Type Definition rustc_middle::ty::fast_reject::SimplifiedType

source ·
pub type SimplifiedType = SimplifiedTypeGen<DefId>;

Trait Implementations

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 bytes
  • CharSimplifiedType: 0 bytes
  • IntSimplifiedType: 1 byte
  • UintSimplifiedType: 1 byte
  • FloatSimplifiedType: 1 byte
  • AdtSimplifiedType: 11 bytes
  • ForeignSimplifiedType: 11 bytes
  • StrSimplifiedType: 0 bytes
  • ArraySimplifiedType: 0 bytes
  • SliceSimplifiedType: 0 bytes
  • RefSimplifiedType: 1 byte
  • PtrSimplifiedType: 1 byte
  • NeverSimplifiedType: 0 bytes
  • TupleSimplifiedType: 15 bytes
  • MarkerTraitObjectSimplifiedType: 0 bytes
  • TraitSimplifiedType: 11 bytes
  • ClosureSimplifiedType: 11 bytes
  • GeneratorSimplifiedType: 11 bytes
  • GeneratorWitnessSimplifiedType: 15 bytes
  • OpaqueSimplifiedType: 11 bytes
  • FunctionSimplifiedType: 15 bytes
  • PlaceholderSimplifiedType: 0 bytes