Module rustc_const_eval::util

source ·

Modules

Enums

Functions

  • Determines if this type permits “raw” initialization by just transmuting some memory into an instance of T.
  • Checks if the specified local is used as the self parameter of a method call in the provided BasicBlock. If it is, then the DefId of the called method is returned.
  • Returns true if this place is allowed to be less aligned than its containing struct (because it is within a packed struct).
  • Returns whether the two types are equal up to subtyping.
  • Returns whether src is a subtype of dest, i.e. src <: dest.