Module vtable

Module vtable 

Source
Expand description

Virtual method tables.

dungeon_cell uses custom vtables to track what types are stored and provide methods for those stored types.

Structs§

BoundsImpl
Implementation based on dynamic bound B.
Descriptor
Describes a type.
Lifetime
Single lifetime type ID.
LifetimeVTable
Implementation of VTable for types with zero or one lifetime.
Static
Static type ID.
StaticVTable
Implementation of VTable for 'static types.

Traits§

ConstVTableOf
Generate VTable instance for type in const context.
Inspect
Inspect type to get a T.
VTable
Virtual method table and type descriptor.
VTableOf
Generate VTable instance for type.
VTableSubset
Convert vtable into a vtable with less dynamic trait bounds.