Crate dynamic_cast
source ·Macros
- Generates correct
SupportsInterfaces
implementation.
Structs
- A newtype wrap for
DynMetadata
.
Traits
InterfaceMetadata
with erased generic argument.- Provides runtime information about implemented traits.
Functions
- Runtime-checking safe cast for
Arc
ed objects. - Runtime-checking safe cast for
Box
ed objects. - Runtime-checking safe cast for unique references.
- Generic runtime-checking safe cast for immutable smart pointers.
- Generic runtime-checking safe cast for mutable smart pointers.
- Runtime-checking safe cast for
Rc
ed objects. - Runtime-checking safe cast for shared references.
- A base piece for
SupportsInterfaces::get_interface_metadata
implementation.
Type Aliases
- Stack-allocated
dyn IsInterfaceMetadata
.