Struct shard_ecs::RegistryBuilder[][src]

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

Builder type used to construct ECS Registry’s.

Implementations

Register the component into the Component Registry that’s being built. Will not insert duplicates. Internal component descriptors are sorted by their ID’s.

Sets the pool size used in the registry.

Constructs the actual ECS Registry.

Trait Implementations

Formats the value using the given formatter. Read more

Instantiates a new builder creating a Registry.

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.