Module rustc_middle::mir::interpret::pointer

source ·


  • The type of provenance in the compile-time interpreter. This is a packed representation of an AllocId and an immutable: bool.
  • Represents a pointer in the Miri engine.



  • This trait abstracts over the kind of provenance that is associated with a Pointer. It is mostly opaque; the Machine trait extends it with some more operations that also have access to some global state. The Debug rendering is used to display bare provenance, and for the default impl of fmt.