[][src]Module abi_stable::erased_types::vtable

Contains VirtualWrapper<_>'s vtable,and related types/traits.

Modules

trait_selector

Contains marker types representing traits of the same name.

Structs

ImplFlag

The set of impls this vtable stores.

TooFewImplsError

Error for the case in which an ImplType does not implement the traits declared in its InterfaceType.

VTable

This is the vtable for VirtualWrapper<_>,

WhichImpl

A non-exhaustive enum that represents one implementations of the traits mentioned in InterfaceType.

Constants

MAX_BIT_INDEX

Traits

GetImplFlags

Returns the impls that this type represents,each impl is 1 bit in the flags.

GetVtable

Returns the vtable used by VirtualWrapper to do dynamic dispatch.

VTableFieldType_

Returns the type of a vtable field.

VTableFieldValue

Returns the value of a vtable field in the current binary (this can be a different value in a dynamically_linked_library/executable).

Type Definitions

VTableFieldType

Returns the type of a vtable field.