Module rustc_trait_selection::traits::vtable
source · Enums
Functions
- Given a trait
trait_ref, returns the number of vtable entries that come fromtrait_ref, excluding its supertraits. Used in computing the vtable base for an upcast trait of a trait object. - Prepare the segments for a vtable
- provide 🔒
- Given a trait
trait_ref, iterates the vtable entries that come fromtrait_ref, including its supertraits. - Find slot base for trait methods within vtable entries of another trait
- Find slot offset for trait vptr within vtable entries of another trait