Macros§
- impl_
supports_ interfaces - Generates correct
SupportsInterfaces
implementation.
Structs§
- Interface
Metadata - A newtype wrap for
DynMetadata
.
Traits§
- IsInterface
Metadata InterfaceMetadata
with erased generic argument.- Supports
Interfaces - Provides runtime information about implemented traits.
Functions§
- dyn_
cast_ arc - Runtime-checking safe cast for
Arc
ed objects. - dyn_
cast_ box - Runtime-checking safe cast for
Box
ed objects. - dyn_
cast_ mut - Runtime-checking safe cast for unique references.
- dyn_
cast_ ⚠raw - Generic runtime-checking safe cast for immutable smart pointers.
- dyn_
cast_ ⚠raw_ mut - Generic runtime-checking safe cast for mutable smart pointers.
- dyn_
cast_ rc - Runtime-checking safe cast for
Rc
ed objects. - dyn_
cast_ ref - Runtime-checking safe cast for shared references.
- try_
get_ interface_ metadata_ for - A base piece for
SupportsInterfaces::get_interface_metadata
implementation.
Type Aliases§
- Boxed
Interface Metadata - Stack-allocated
dyn IsInterfaceMetadata
.