Module instance_provider

Module instance_provider 

Source
Expand description

The core functionality of creating and managing Component instances.

Enums§

ComponentInstanceProviderError
Errors related to creating and managing components.

Traits§

ComponentInstanceProvider
TypedComponentInstanceProvider
Helper trait for ComponentInstanceProvider providing strongly-typed access.

Type Aliases§

CastFunction
(Usually generated) cast function which consumes given type-erased instance pointer and casts it to the desired ComponentInstancePtr<T>. The result is then returned as type-erased Box which is then converted back to ComponentInstancePtr<T>. Such shenanigans are needed to be able to convert between two dyn Traits.
ComponentInstanceAnyPtr
ComponentInstancePtr
ErrorPtr