Module vtable

Source

Enums§

VtblSegment

Functions§

first_method_vtable_slot 🔒
has_own_existential_vtable_entries 🔒
maybe_iter 🔒
Turns option of iterator into an iterator (this is just flatten)
own_existential_vtable_entries 🔒
own_existential_vtable_entries_iter 🔒
prepare_vtable_segments
Prepare the segments for a vtable
prepare_vtable_segments_inner 🔒
Helper for prepare_vtable_segments that returns ControlFlow, such that we can use ? in the body.
provide 🔒
supertrait_vtable_slot 🔒
Given a dyn Subtrait and dyn Supertrait trait object, find the slot of the trait vptr in the subtrait’s vtable.
vtable_entries 🔒
Given a trait trait_ref, iterates the vtable entries that come from trait_ref, including its supertraits.