Struct oxygengine_core::ecs::Universe[][src]

pub struct Universe { /* fields omitted */ }

Implementations

Safety

This function assume that as_type matches exactly the type of resource, you can call it for example if you want to move already prepared resources from another place to this universe (in this case we can be sure type IDs matches the types of resources).

Trait Implementations

Returns the “default value” for a type. Read more

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.