Expand description

Types and traits related to type erasure.

Re-exports

Modules

  • Types that implement InterfaceType, used in examples.
  • Ffi-safe trait objects for individual traits.

Structs

  • DynTrait implements ffi-safe trait objects, for a selection of traits.
  • Describes which traits are required and enabled by the I: InterfaceType that this RequiredTraits is created from.
  • Metadata about a type.
  • Error for DynTrait<_> being downcasted into the wrong type with one of the *downcasted* methods.
  • A pointer to the vtable of DynTrait.

Traits