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.