pub unsafe extern "C" fn ecs_record_get_mut_id(
world: *mut ecs_world_t,
record: *mut ecs_record_t,
id: ecs_id_t,
) -> *mut c_voidExpand description
Same as ecs_record_get_id, but returns a mutable pointer. For safe access to the component, obtain the record with ecs_write_begin.
@param world The world. @param record Record to the entity. @param id The (component) id. @return Pointer to component, or NULL if entity does not have the component.