Struct he_di::RegisteredType [] [src]

pub struct RegisteredType {
    pub component: TypeId,
    pub as_trait: Option<TypeId>,
    pub builder: Box<ComponentBuilder>,
    pub parameters: ParameterMap,
}

DI Container entry

When running the following command container_builder.register_type::<MyImplOfTrait>().as::<Trait>(); - MyImplOfTrait -> component - Trait -> as_trait

Fields

Methods

impl RegisteredType
[src]

Add a new parameter for this Container entry name must match one of the struct's property name

Add a new parameter for this Container entry type must refer to a unique property's

Trait Implementations

impl Debug for RegisteredType
[src]

Formats the value using the given formatter.