rustc_codegen_ssa

Module meth

Source

Structs§

Functions§

  • This takes a valid self receiver type and extracts the principal trait ref of the type. Return None if there is no principal trait.
  • get_vtable 🔒
    Creates a dynamic vtable for the given type and vtable origin. This is used only for objects.
  • Call this function whenever you need to load a vtable.