Module meth

Source

Structsยง

VirtualIndex ๐Ÿ”’

Functionsยง

dyn_trait_in_self ๐Ÿ”’
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.
load_vtable ๐Ÿ”’
Call this function whenever you need to load a vtable.