[][src]Module abi_stable::erased_types

Types and traits related to type erasure.

Re-exports

pub use self::dyn_trait::DynTraitBound;
pub use self::traits::ImplType;
pub use self::traits::InterfaceType;
pub use self::traits::DeserializeDyn;
pub use self::traits::SerializeImplType;
pub use self::traits::SerializeProxyType;
pub use self::traits::IteratorItem;
pub use self::traits::IteratorItemOrDefault;
pub use self::type_info::TypeInfo;
pub use crate::type_level::unerasability::TU_Unerasable;
pub use crate::type_level::unerasability::TU_Opaque;

Modules

dyn_trait

Contains the DynTrait type,and related traits/type aliases.

enabled_traits
interfaces

impl InterfaceTypes used in examples.

trait_objects

Ffi-safe trait objects for individual traits.

traits

Traits for types wrapped in DynTrait<_>

type_info

Contains TypeInfo,metadata for a type.

Structs

DynTrait

DynTrait implements ffi-safe trait objects,for a selection of traits.

VTableDT

This type allows passing the vtable for DynTrait to from_const with VTableDT::GET.

Enums

FormattingMode

The formatting mode for all std::fmt formatters.

Traits

GetVtable

Returns the vtable used by DynTrait to do dynamic dispatch.

InterfaceBound

Trait used to capture all the bounds of DynTrait<_>.