ecs_value_copy

Function ecs_value_copy 

Source
pub unsafe extern "C" fn ecs_value_copy(
    world: *const ecs_world_t,
    type_: ecs_entity_t,
    dst: *mut c_void,
    src: *const c_void,
) -> c_int
Expand description

Copy value.

@param world The world. @param type The type of the value to copy. @param dst Pointer to the storage to copy to. @param src Pointer to the value to copy. @return Zero if success, nonzero if failed.