Struct mc_core::entity::GlobalEntities[][src]

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

The global entities palette used in level environment.

Implementations

A simple constructor to directly call register_all with given entity types slice.

Register a single entity type to this palette.

An optimized way to call register multiple times for each given entity type.

Get an entity type from its name.

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.