ecs_get_type

Function ecs_get_type 

Source
pub unsafe extern "C" fn ecs_get_type(
    world: *const ecs_world_t,
    entity: ecs_entity_t,
) -> *const ecs_type_t
Expand description

Get the type of an entity.

@param world The world. @param entity The entity. @return The type of the entity, NULL if the entity has no components.