ecs_bool_t

Type Alias ecs_bool_t 

Source
pub type ecs_bool_t = bool;
Expand description

Primitive type definitions. These typedefs allow the builtin primitives to be used as regular components: ecs_set(world, e, ecs_i32_t, {10});

Or a more useful example (create an enum constant with a manual value): ecs_set_pair_object(world, e, EcsConstant, ecs_i32_t, {10});