Struct rscontainer::ContainerBuilder[][src]

pub struct ContainerBuilder { /* fields omitted */ }
Expand description

Create a container with the builder pattern.

Implementations

Creates a new ContainerBuilder.

Creates a new ContainerBuilder with the specified capacity.

Inserts a shared instance.

Sets a custom constructor for a shared instance.

Sets a custom constructor for an owned instance.

Sets custom contructors for an owned and shared intance.

Builds the container.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.